|
|
@ -1,3 +1,9 @@ |
|
|
|
|
|
# Don't show directory listings for URLs which map to a directory. |
|
|
|
|
|
Options -Indexes |
|
|
|
|
|
|
|
|
|
|
|
# Follow symbolic links in this directory. |
|
|
|
|
|
Options +FollowSymLinks |
|
|
|
|
|
|
|
|
# Make HTMLy handle any 404 errors. |
|
|
# Make HTMLy handle any 404 errors. |
|
|
ErrorDocument 404 /index.php |
|
|
ErrorDocument 404 /index.php |
|
|
|
|
|
|
|
|
@ -77,8 +83,8 @@ DirectoryIndex index.php index.html index.htm |
|
|
|
|
|
|
|
|
# Pass all requests not referring directly to files in the filesystem to index.php. |
|
|
# Pass all requests not referring directly to files in the filesystem to index.php. |
|
|
RewriteCond %{REQUEST_FILENAME} !-f |
|
|
RewriteCond %{REQUEST_FILENAME} !-f |
|
|
RewriteCond %{REQUEST_FILENAME} !-d |
|
|
|
|
|
RewriteRule ^ index.php [L] |
|
|
|
|
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d |
|
|
|
|
|
RewriteRule . index.php [L] |
|
|
|
|
|
|
|
|
</IfModule> |
|
|
</IfModule> |
|
|
|
|
|
|
|
|
|