Bonjour,
J'aimerai pouvoir utiliser l'URL rewriting sur mon serveur WAMP.
J'ai ce .htaccess :
Cependant, je n'arrive plus à acceder au dossier qui contient ce fichier .htaccess car j'obtient l'erreur 500 :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 # Le serveur doit suivre les liens symboliques : Options +FollowSymlinks RewriteOptions MaxRedirects=20 # Activation du module de réécriture d'URL : RewriteEngine on RewriteRule ^page-(.+)-([0-9]+).htm page.php?id=$2 [L]
J'ai bien décommenté la ligneInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost 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.de httpd.conf et redémarré les services
Code : Sélectionner tout - Visualiser dans une fenêtre à part LoadModule rewrite_module modules/mod_rewrite.so
Merci
Partager