1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-autodiscover-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28autodiscover smeserver-autodiscover-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28autodiscover |
2 |
|
|
--- smeserver-autodiscover-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28autodiscover 2022-07-13 21:46:51.000000000 -0400 |
3 |
|
|
+++ smeserver-autodiscover-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28autodiscover 2022-07-13 22:16:20.611000000 -0400 |
4 |
|
|
@@ -1,5 +1,5 @@ |
5 |
|
|
{ |
6 |
|
|
-return "# autodiscover disabled\n" unless $autodiscover eq "enabled"; |
7 |
|
|
+return "# autodiscover disabled\n" unless $autodiscover{'status'} eq "enabled"; |
8 |
|
|
|
9 |
|
|
if ($port eq $httpsPort) |
10 |
|
|
{ |
11 |
|
|
@@ -11,7 +11,7 @@ |
12 |
|
|
else |
13 |
|
|
{ |
14 |
|
|
$OUT .= 'RedirectMatch 302 ^/\.well-known/autoconfig/mail/config-v1\.1\.xml(.*|$) https://%{HTTP_HOST}/.well-known/autoconfig/mail/config-v1.1.xml$1 '."\n"; |
15 |
|
|
- $OUT .= 'RedirectMatch 302 ^/autodiscover(/.*|$) https://%{HTTP_HOST}/autodiscover$1 '."\n"; |
16 |
|
|
+ $OUT .= 'RedirectMatch 302 ^/(a|A)utodiscover(/.*|$) https://%{HTTP_HOST}/autodiscover$2 '."\n"; |
17 |
|
|
} |
18 |
|
|
|
19 |
|
|
|