mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Fix #80
This commit is contained in:
parent
2742f63c79
commit
9b2b0b5c31
@ -27,6 +27,9 @@ ErrorDocument 500 /assets/error-500.html
|
|||||||
SetEnv HTTP_MOD_REWRITE On
|
SetEnv HTTP_MOD_REWRITE On
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Enable HTTP Basic authentication workaround for PHP running in CGI mode
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
|
||||||
# Deny access to potentially sensitive files and folders
|
# Deny access to potentially sensitive files and folders
|
||||||
RewriteRule ^vendor(/|$) - [F,L,NC]
|
RewriteRule ^vendor(/|$) - [F,L,NC]
|
||||||
RewriteRule silverstripe-cache(/|$) - [F,L,NC]
|
RewriteRule silverstripe-cache(/|$) - [F,L,NC]
|
||||||
|
Loading…
Reference in New Issue
Block a user