/[smecontribs]/rpms/smeserver-autodiscover/contribs10/smeserver-autodiscover-1.0.0-bz10842.patch
ViewVC logotype

Contents of /rpms/smeserver-autodiscover/contribs10/smeserver-autodiscover-1.0.0-bz10842.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jul 14 02:17:32 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-autodiscover-1_0_0-0_el7_sme, HEAD
* Wed Jul 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-1.sme
- initial release [SME: 10842]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed