mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
Update general_troubleshooting.rst
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.
This commit is contained in:
@@ -271,11 +271,11 @@ document root of your Web server and add the following lines::
|
|||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^\.well-known/host-meta /nextcloud/public.php?service=host-meta [QSA,L]
|
RewriteRule ^/\.well-known/host-meta /nextcloud/public.php?service=host-meta [QSA,L]
|
||||||
RewriteRule ^\.well-known/host-meta\.json /nextcloud/public.php?service=host-meta-json [QSA,L]
|
RewriteRule ^/\.well-known/host-meta\.json /nextcloud/public.php?service=host-meta-json [QSA,L]
|
||||||
RewriteRule ^\.well-known/webfinger /nextcloud/public.php?service=webfinger [QSA,L]
|
RewriteRule ^/\.well-known/webfinger /nextcloud/public.php?service=webfinger [QSA,L]
|
||||||
RewriteRule ^\.well-known/carddav /nextcloud/remote.php/dav [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/caldav /nextcloud/remote.php/dav [R=301,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
Make sure to change /nextcloud to the actual subfolder your Nextcloud instance is running in.
|
Make sure to change /nextcloud to the actual subfolder your Nextcloud instance is running in.
|
||||||
|
|||||||
Reference in New Issue
Block a user