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 +