Modified default .htaccess to be more consistent with other popular frameworks.
This commit is contained in:
parent
328b9fcb28
commit
3f04484b83
|
@ -1,5 +1,8 @@
|
||||||
Options +FollowSymLinks
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule . /index.php [L]
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
|
||||||
|
RewriteRule ^(.*)$ index.php/$1 [L]
|
||||||
|
</IfModule>
|
Loading…
Reference in New Issue