FIX Requests to root dir circumvent index.php

fixes #58
This commit is contained in:
Daniel Hensby 2015-02-16 16:36:23 +00:00
parent c9cb22f648
commit 066fd84452

View File

@ -24,6 +24,12 @@ ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html ErrorDocument 500 /assets/error-500.html
<IfModule mod_rewrite.c> <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 SetEnv HTTP_MOD_REWRITE On
RewriteEngine On RewriteEngine On