Merge pull request #152 from open-sausages/pulls/4.0/disable-trailing-slash-redirect

Disable trailing slash redirect for dirs
This commit is contained in:
Daniel Hensby 2017-02-02 10:10:47 +00:00 committed by GitHub
commit 5d778fa2a5
1 changed files with 4 additions and 3 deletions

View File

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