Merge pull request #81 from guru-digital/3.1

Fix #79
This commit is contained in:
Damian Mooyman 2015-02-16 11:34:40 +13:00
commit c9cb22f648

View File

@ -27,6 +27,9 @@ ErrorDocument 500 /assets/error-500.html
SetEnv HTTP_MOD_REWRITE 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
RewriteRule ^vendor(/|$) - [F,L,NC]
RewriteRule silverstripe-cache(/|$) - [F,L,NC]