From 7241e3e30e8ffdc9a03c6709783d0f800a754a75 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Thu, 12 Sep 2013 10:14:47 -0400 Subject: [PATCH] Added rewrite rule for apple autoconfiguration url Rewrite rules are no inherited by virtualhosts when they are declared in conf.d This means that you'll have to explicitly include SOGo.conf from 000-default on debian/ubuntu for this redirection to work properly. --- Apache/SOGo.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Apache/SOGo.conf b/Apache/SOGo.conf index 853b5ae0e..e065c3240 100644 --- a/Apache/SOGo.conf +++ b/Apache/SOGo.conf @@ -66,3 +66,9 @@ ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 Allow from all +# For apple autoconfiguration + + RewriteEngine On + RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301] + +