Ajout regele de rewrite dans la doc

This commit is contained in:
Michael RICOIS 2011-08-24 10:15:48 +00:00
parent a9f1b6982b
commit a79ef82780

View File

@ -80,7 +80,16 @@ Exemple de vhost en mode développement
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
Allow from all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
</Directory>
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.