relaxmax68/autogestion/master/.htaccess
Options +FollowSymLinks -indexes
RewriteEngine On
RewriteBase /github/autogestion
# gestion des erreurs
ErrorDocument 404 /github/autogestion/erreur.php
# gestion des routes
RewriteRule ^action/(.*)/(.*)/$ controleur.php?d1=action&d2=$1&d3=$2 [QSA]
RewriteRule ^action/(.*)/$ controleur.php?d1=action&d2=$1 [QSA]
RewriteRule ^(.*)/(.*)/(.*)/$ controleur.php?d1=$1&d2=$2&d3=$3 [QSA]
RewriteRule ^(.*)/(.*)/$ controleur.php?d1=$1&d2=$2 [QSA]
RewriteRule ^(.*)/$ controleur.php?d1=$1 [QSA]
On Github License
Files