From d6e4b47ee9b629b1a3f7cf0e21411368aa67a746 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Wed, 20 Feb 2019 18:38:14 +0100 Subject: [PATCH] fix: fix nextcloud well-known in .htaccess --- .htaccess | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index b9a738c..fa282cc 100755 --- a/.htaccess +++ b/.htaccess @@ -16,9 +16,9 @@ RewriteCond %{ENV:HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] - Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav - Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav - + Redirect 301 /.well-known/carddav /cloud/remote.php/carddav + Redirect 301 /.well-known/caldav /cloud/remote.php/caldav + # block files and folders beginning with a dot, such as .git # except for the .well-known folder, which is used for Let's Encrypt and security.txt RewriteRule (^|/)\.(?!well-known\/) index.php [L] @@ -79,4 +79,4 @@ ExpiresByType text/x-javascript M604800 AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript - \ No newline at end of file +