From 0f3a73335112040c0289488ac03bbdd6b078c806 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Fri, 28 Apr 2017 16:11:55 +0200 Subject: [PATCH 1/2] Add .well-known redirects to .htaccess --- html/.htaccess | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/html/.htaccess b/html/.htaccess index 607a52f..08a8246 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -13,4 +13,9 @@ ExpiresActive Off - \ No newline at end of file + + + + Redirect 301 /.well-known/caldav /dav.php + Redirect 301 /.well-known/carddav /dav.php + From bd5325dca442af5ac9c45c7b2fa062f7e9dae84b Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Thu, 18 Apr 2019 23:21:46 +0200 Subject: [PATCH 2/2] Use 308 redirects for .well-known redirects --- html/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/.htaccess b/html/.htaccess index 08a8246..d5d0995 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -16,6 +16,6 @@ - Redirect 301 /.well-known/caldav /dav.php - Redirect 301 /.well-known/carddav /dav.php + Redirect 308 /.well-known/caldav /dav.php + Redirect 308 /.well-known/carddav /dav.php