summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-16 21:05:15 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-16 21:05:15 +0200
commit9e83c3f823a545ea91b584d3d7c8a81ebf8c2fb4 (patch)
treea4b91e7de1770e9d71bae60755eadda8e1742626 /.htaccess
parentb39f01fce6756a5c9a181de4e7387e10ad556428 (diff)
downloadnextcloud-server-9e83c3f823a545ea91b584d3d7c8a81ebf8c2fb4.tar.gz
nextcloud-server-9e83c3f823a545ea91b584d3d7c8a81ebf8c2fb4.zip
add caldav and carddav files in their old place for backward compatibility - add rewriterule for caldav and carddav
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 3 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 79904f8a9da..095a0cc6375 100644
--- a/.htaccess
+++ b/.htaccess
@@ -13,7 +13,9 @@ RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
-RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
+RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
+RewriteRule ^apps/calendar/caldav.php remote.php/caldav/ [QSA,L]
+RewriteRule ^apps/contacts/carddav.php remote.php/carddav/ [QSA,L]
RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
</IfModule>