baikal/html/.htaccess

22 lines
586 B
ApacheConf
Raw Normal View History

# 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
2017-04-28 10:11:55 -04:00
</IfModule>
<IfModule mod_alias.c>
Redirect 301 /.well-known/caldav /dav.php
Redirect 301 /.well-known/carddav /dav.php
</IfModule>