]> source.dussan.org Git - nextcloud-server.git/commitdiff
add /.well-known/host-meta.json to .htaccess
authorMichiel de Jong <michiel@unhosted.org>
Sun, 11 Nov 2012 02:00:28 +0000 (20:00 -0600)
committerMichiel de Jong <michiel@unhosted.org>
Sun, 11 Nov 2012 02:00:28 +0000 (20:00 -0600)
.htaccess

index 2d7b7dcc364b4c5de3612f5318a75f1d4324883b..048a56d6389dd0b05cc0b4bd36490f125631bdaa 100755 (executable)
--- 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]