From 8297e743985edf6871941c9a207f4450959359df Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 21 Aug 2026 21:29:53 -0700 Subject: [PATCH] radicale: Redirect from .well-known URLs only temporarily - When Nextcloud is enabled, it takes over the .well-known URLs. We don't want the redirect result to be cached resulting in wanted behavior. Tests: - curl -k https://192.168.122.87/.well-known/caldav and curl -k https://192.168.122.87/.well-known/carddav results in 302 Found responses instead of 301 permanent redirects. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- .../etc/apache2/conf-available/radicale2-freedombox.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freedombox/modules/radicale/data/usr/share/freedombox/etc/apache2/conf-available/radicale2-freedombox.conf b/freedombox/modules/radicale/data/usr/share/freedombox/etc/apache2/conf-available/radicale2-freedombox.conf index c798791c1..ee0b7e8ac 100644 --- a/freedombox/modules/radicale/data/usr/share/freedombox/etc/apache2/conf-available/radicale2-freedombox.conf +++ b/freedombox/modules/radicale/data/usr/share/freedombox/etc/apache2/conf-available/radicale2-freedombox.conf @@ -2,8 +2,8 @@ ## On all sites, provide Radicale on a path: /radicale ## Allow all valid users. ## -Redirect 301 /.well-known/carddav /radicale/ -Redirect 301 /.well-known/caldav /radicale/ +Redirect temp /.well-known/carddav /radicale/ +Redirect temp /.well-known/caldav /radicale/