1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
SetEnv PHP_VER 5
#--------------------------------------------------
# Répertoire : /
#--------------------------------------------------
# Le serveur doit suivre les liens symboliques :
Options +FollowSymlinks
Options -MultiViews
# Activation du module de réécriture d'URL :
RewriteEngine on
#--------------------------------------------------
# Règles de réécriture d'URL :
#--------------------------------------------------
DirectoryIndex accueil.php
#supprime les .php
RewriteRule ^([a-z-A-Z-_0-9]*)$ /$1.php [NC]
RewriteRule ^description-panoramique/submitRating.php /submitRating.php
RewriteRule ^tags/([a-z-_0-9-+]*)$ /tags?recherche=$1
RewriteRule ^description-panoramique/([a-z-_0-9]*)$ /description-panoramique?titre=$1 [L] |