From 555ab488f9dc022d33e97cfcde841d1f9d9cdbfd Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 23 Feb 2022 11:40:40 +0100 Subject: [PATCH] Update general_troubleshooting.rst 64e0e45 this was necessary for me to have those rules work and also makes perfect sense as a `/` is imho always at the beginning of the path. Signed-off-by: Joas Schilling --- admin_manual/issues/general_troubleshooting.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin_manual/issues/general_troubleshooting.rst b/admin_manual/issues/general_troubleshooting.rst index b7c1ab12a..512e3c31f 100644 --- a/admin_manual/issues/general_troubleshooting.rst +++ b/admin_manual/issues/general_troubleshooting.rst @@ -261,10 +261,10 @@ document root of your Web server and add the following lines:: RewriteEngine on - RewriteRule ^\.well-known/carddav /nextcloud/remote.php/dav [R=301,L] - RewriteRule ^\.well-known/caldav /nextcloud/remote.php/dav [R=301,L] - RewriteRule ^\.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L] - RewriteRule ^\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L] + RewriteRule ^/\.well-known/carddav /nextcloud/remote.php/dav [R=301,L] + RewriteRule ^/\.well-known/caldav /nextcloud/remote.php/dav [R=301,L] + RewriteRule ^/\.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L] + RewriteRule ^/\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L] Make sure to change /nextcloud to the actual subfolder your Nextcloud instance is running in.