Fixed a bug causing auth to be impossible when using PHP as a FastCGI module
Former-commit-id: e7f751c25c
This commit is contained in:
parent
829eed0fb8
commit
44dc24b3b6
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