From 44dc24b3b6e3557d90fe055f36ce96ecd2099084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81ro=CC=82me=20Schneider?= Date: Wed, 30 May 2012 22:40:02 +0200 Subject: [PATCH] Fixed a bug causing auth to be impossible when using PHP as a FastCGI module Former-commit-id: e7f751c25c9dda9853338d571a0db01286af07aa --- html/.htaccess | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/html/.htaccess b/html/.htaccess index 284cb25..5588856 100755 --- a/html/.htaccess +++ b/html/.htaccess @@ -3,10 +3,14 @@ # Useful only for Apache servers, with AllowOverride All # (ie, .htaccess files enabled) +# Allow HTTP headers with Apache/FastCGI +# See http://code.google.com/p/sabredav/wiki/Authentication#Apache_+_(Fast)CGI + - RewriteEngine Off + RewriteEngine On + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] ExpiresActive Off - \ No newline at end of file +