baikal/html/.htaccess
2017-04-28 16:11:55 +02:00

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 301 /.well-known/caldav /dav.php
Redirect 301 /.well-known/carddav /dav.php
</IfModule>