mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7567 from open-sausages/pulls/4.0/fix-directoryindex
BUG Disable directory index with missing slash
This commit is contained in:
commit
39fae32ab1
@ -445,7 +445,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
|
||||
DirectorySlash On
|
||||
</IfModule>
|
||||
|
||||
SetEnv HTTP_MOD_REWRITE On
|
||||
|
Loading…
x
Reference in New Issue
Block a user