21 lines
586 B
ApacheConf
21 lines
586 B
ApacheConf
# Disabling cache management
|
|
# that could cause problems with DAV requests
|
|
# 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 On
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
|
</IfModule>
|
|
|
|
<IfModule mod_expires.c>
|
|
ExpiresActive Off
|
|
</IfModule>
|
|
|
|
<IfModule mod_alias.c>
|
|
Redirect 308 /.well-known/caldav /dav.php
|
|
Redirect 308 /.well-known/carddav /dav.php
|
|
</IfModule>
|