summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-05-11 10:47:42 +0200
committerMichiel de Jong <michiel@unhosted.org>2012-05-11 10:47:42 +0200
commit02cee2c56296d0e72cfdc368c20198b36638bda9 (patch)
tree4e5516eaf6551e7b1dce24365e01b04e63eb9762 /.htaccess
parent0c7f0aa3fa1b41f1e3a1ff15a1dbfa1a584608c3 (diff)
downloadnextcloud-server-02cee2c56296d0e72cfdc368c20198b36638bda9.tar.gz
nextcloud-server-02cee2c56296d0e72cfdc368c20198b36638bda9.zip
trying to fix /.well-known/host-meta
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 2 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 65d4ceafb05..69dddc9abb6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -15,9 +15,10 @@ php_value memory_limit 512M
<IfModule mod_rewrite.c>
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 ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
</IfModule>
-Options -Indexes \ No newline at end of file
+Options -Indexes