Fixed a bug causing auth to be impossible when using PHP as a FastCGI module

Former-commit-id: e7f751c25c
This commit is contained in:
Jérôme Schneider 2012-05-30 22:40:02 +02:00
parent 829eed0fb8
commit 44dc24b3b6

View file

@ -3,10 +3,14 @@
# Useful only for Apache servers, with AllowOverride All # Useful only for Apache servers, with AllowOverride All
# (ie, .htaccess files enabled) # (ie, .htaccess files enabled)
# Allow HTTP headers with Apache/FastCGI
# See http://code.google.com/p/sabredav/wiki/Authentication#Apache_+_(Fast)CGI
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine Off RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule> </IfModule>
<IfModule mod_expires.c> <IfModule mod_expires.c>
ExpiresActive Off ExpiresActive Off
</IfModule> </IfModule>