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

This commit is contained in:
Jérôme Schneider 2012-05-30 22:40:02 +02:00
parent c02bf59261
commit e7f751c25c

View file

@ -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
<IfModule mod_rewrite.c>
RewriteEngine Off
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive Off
</IfModule>
</IfModule>