PATHINFO example added to htaccess.sample

This commit is contained in:
Mikael Nordfeldth 2014-08-06 10:30:35 +02:00
parent 9933c00c4f
commit 6e181a2454

View File

@ -19,6 +19,9 @@
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?p=$1 [L,QSA] RewriteRule (.*) index.php?p=$1 [L,QSA]
## You can also use PATHINFO by using this RewriteRule instead:
# RewriteRule (.*) index.php/$1 [L,QSA]
</IfModule> </IfModule>
<FilesMatch "\.(ini)"> <FilesMatch "\.(ini)">