PATHINFO example added to htaccess.sample
This commit is contained in:
parent
9933c00c4f
commit
6e181a2454
|
@ -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)">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user