/[smecontribs]/rpms/smeserver-ezmlm-web/contribs10/smeserver-ezmlm-web-1.1.3-bz12045-httpd24.patch
ViewVC logotype

Contents of /rpms/smeserver-ezmlm-web/contribs10/smeserver-ezmlm-web-1.1.3-bz12045-httpd24.patch

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


Revision 1.2 - (show annotations) (download)
Mon Aug 1 02:06:21 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-ezmlm-web-1_1_3-13_el7_sme, smeserver-ezmlm-web-1_1_3-12_el7_sme, HEAD
Changes since 1.1: +19 -0 lines
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.3-12.sme
- update to httpd 2.4 syntax [SME: 12045]

1 diff -Nur --no-dereference smeserver-ezmlm-web-1.1.3.old/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/85EzmlmWebAccess smeserver-ezmlm-web-1.1.3/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/85EzmlmWebAccess
2 --- smeserver-ezmlm-web-1.1.3.old/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/85EzmlmWebAccess 2022-07-22 02:02:52.392000000 -0400
3 +++ smeserver-ezmlm-web-1.1.3/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/85EzmlmWebAccess 2022-07-22 02:05:55.794000000 -0400
4 @@ -2,14 +2,13 @@
5
6 <Directory /usr/local/share/ezmlm-web/www-data >
7 Options +ExecCGI
8 - order deny,allow
9 - deny from all
10 - allow from { "$localAccess"; }
11 AuthName "SME User manager"
12 AuthType Basic
13 TKTAuthLoginURL /server-common/cgi-bin/login
14 - require valid-user
15 - Satisfy all
16 + <RequireAll>
17 + Require ip { "$localAccess"; }
18 + Require valid-user
19 + </RequireAll>
20
21 </Directory>
22
23 diff -Nur --no-dereference smeserver-ezmlm-web-1.1.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28ezmlm-web smeserver-ezmlm-web-1.1.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28ezmlm-web
24 --- smeserver-ezmlm-web-1.1.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28ezmlm-web 2022-07-31 22:01:41.537000000 -0400
25 +++ smeserver-ezmlm-web-1.1.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28ezmlm-web 2022-07-31 22:04:37.741000000 -0400
26 @@ -18,13 +18,11 @@
27 }
28
29 $OUT .= " <Location /$place>\n";
30 - $OUT .= " order deny,allow\n";
31 - $OUT .= " deny from all\n";
32 if (($haveSSL eq 'yes') && (($port eq "443") || ($plainTextAccess ne 'yes')))
33 {
34 - $OUT .= " allow from $localAccess $externalSSLAccess\n";
35 + $OUT .= " Require ip $localAccess $externalSSLAccess\n";
36 } else {
37 - $OUT .= " allow from $localAccess\n";
38 + $OUT .= " Require ip $localAccess\n";
39 }
40 $OUT .= " </Location>\n";
41 }

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