Fixed a bug causing auth to be impossible when using PHP as a FastCGI module
This commit is contained in:
parent
c02bf59261
commit
e7f751c25c
1 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue