From 70224f71d6fe4d28aa160ccfc4b1cc860e01ff7e Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 23 Oct 2018 18:46:52 +0200 Subject: [PATCH] [fix] (for 3.5) fixing autodiscover template --- etc/alternc/templates/apache2/autodiscover.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/alternc/templates/apache2/autodiscover.conf b/etc/alternc/templates/apache2/autodiscover.conf index 123a09f3..a68a4120 100644 --- a/etc/alternc/templates/apache2/autodiscover.conf +++ b/etc/alternc/templates/apache2/autodiscover.conf @@ -7,6 +7,7 @@ ServerName %%fqdn%% + RewriteEngine On # Mail autoconfig RewriteRule ^/mail/mailautoconfig.xml$ /mailautoconfig_thunderbird.php [L] RewriteRule ^/mail/config-v1.1.xml$ /mailautoconfig_thunderbird.php [L] @@ -20,7 +21,8 @@ RewriteRule ^Autodiscover/Autodiscover.xml$ /mailautoconfig_outlook.php [L] RewriteRule ^Autodiscover.xml$ mailautoconfig_outlook.php [L] RewriteRule ^autodiscover.xml$ mailautoconfig_outlook.php [L] - + RewriteRule (.*) - [F] + @@ -31,6 +33,7 @@ ServerName %%fqdn%% + RewriteEngine On # Mail autoconfig RewriteRule ^/mail/mailautoconfig.xml$ /mailautoconfig_thunderbird.php [L] RewriteRule ^/mail/config-v1.1.xml$ /mailautoconfig_thunderbird.php [L] @@ -44,6 +47,7 @@ RewriteRule ^Autodiscover/Autodiscover.xml$ /mailautoconfig_outlook.php [L] RewriteRule ^Autodiscover.xml$ mailautoconfig_outlook.php [L] RewriteRule ^autodiscover.xml$ mailautoconfig_outlook.php [L] + RewriteRule (.*) - [F] SSLEngine On SSLCertificateFile %%CRT%%