summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-11-10 20:00:28 -0600
committerMichiel de Jong <michiel@unhosted.org>2012-11-10 20:00:28 -0600
commite37dd7aa8231bbae2d55081f328eebafaa87efbb (patch)
treec5e57a880e24ba6864ac69b5e0a3c10c124a6333
parent9f8cc09642671577139767541f680277b26f5c05 (diff)
downloadnextcloud-server-e37dd7aa8231bbae2d55081f328eebafaa87efbb.tar.gz
nextcloud-server-e37dd7aa8231bbae2d55081f328eebafaa87efbb.zip
add /.well-known/host-meta.json to .htaccess
-rwxr-xr-x.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 2d7b7dcc364..048a56d6389 100755
--- a/.htaccess
+++ b/.htaccess
@@ -20,6 +20,7 @@ php_value memory_limit 512M
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
+RewriteRule ^.well-known/host-meta.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
RewriteRule ^apps/calendar/caldav.php remote.php/caldav/ [QSA,L]