Titre: url rewriting
Posté par: nic le le 21-08-2006 a 11:49:45
Bonjour,
Sur mon site j'ai des url de type : http://monsite.com/video/video.php?query=dede&submit=Rechercher+&type=vi... ("dede" c est la requeté)
Je souhaiterais souhaiterai arrive a se resultat : http://monsite.com/repertoire/valeur1-valeur2-valeur3.php
Alors j'ai fait sa Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)-(.*)-(.*)\.php$ http://monsite.com/video/video.php?query=$1&submit=$2&type=$3 [QSA,L]
le probleme c qui me renvoye une erreur 500 "pour info je suis chez ovh" Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, support@derternet.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
donc en cherchant j ai lu qu il fallait rajoute un slash pour la recriture d url chez ovh mais la encore sa ne marche alors si une bonne âme pourait m aide sa serait sympas merci |
Titre: Re:url rewriting
Posté par: KaRaK le le 23-08-2006 a 11:57:50
Bonjour,
Cela devrait marcher :
Code:
RewriteEngine on RewriteRule ^video-(.*)-(.*)-(.*)\.php$ /video.php?query=$1&submit=$2&type=$3 [L]
|
|
|
Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.
|