From 9b2b0b5c31201222e83c49b8ec729c5434167528 Mon Sep 17 00:00:00 2001 From: Corey Sewell Date: Tue, 20 Jan 2015 13:28:05 +1300 Subject: [PATCH] Fix #80 --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess index 9048377..a5321d4 100644 --- a/.htaccess +++ b/.htaccess @@ -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]