summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-15 15:49:11 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-15 17:11:03 +0200
commitea99e1184d05d08e1980ade697c25bc5fe36397a (patch)
tree4b5b150da0745320b5d84577d8102cdb28ea3b3e /.htaccess
parentb0e68d039c17c26013460f890c148595652b5376 (diff)
downloadnextcloud-server-ea99e1184d05d08e1980ade697c25bc5fe36397a.tar.gz
nextcloud-server-ea99e1184d05d08e1980ade697c25bc5fe36397a.zip
Add well-known redirects to htaccess
Fixes: http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-232 http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-445
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 11520d743dc..96ecb685d52 100644
--- a/.htaccess
+++ b/.htaccess
@@ -11,5 +11,7 @@ php_value memory_limit 512M
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
+RewriteRule ^.well-known/carddav /apps/contacts/carddav.php [R]
+RewriteRule ^.well-known/caldav /apps/calendar/caldav.php [R]
</IfModule>
Options -Indexes