Merge pull request #82 from dhensby/pulls/fix-58

FIX Requests to root dir circumvent index.php
This commit is contained in:
Damian Mooyman 2015-02-26 14:29:45 +13:00
commit 4b2117ab8d
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html
<IfModule mod_rewrite.c>
# Turn off index.php handling requests to the homepage fixes issue in apache >=2.4
<IfModule mod_dir.c>
DirectoryIndex disabled
</IfModule>
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On