/[smecontribs]/rpms/smeserver-isoqlog/contribs10/smeserver-isoqlog-2.2.1-bz12049-24syntax.patch
ViewVC logotype

Contents of /rpms/smeserver-isoqlog/contribs10/smeserver-isoqlog-2.2.1-bz12049-24syntax.patch

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


Revision 1.1 - (show annotations) (download)
Fri Jul 29 05:44:20 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-isoqlog-2_2_1-6_el7_sme, smeserver-isoqlog-2_2_1-5_el7_sme, smeserver-isoqlog-2_2_1-7_el7_sme, HEAD
* Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme
- add to core backup [SME: 12010]
- use httpd 2.4 access syntax [SME: 12049]

1 diff -Nur --no-dereference smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28isoqlogProxyPass smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28isoqlogProxyPass
2 --- smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28isoqlogProxyPass 2012-08-21 02:53:33.000000000 -0400
3 +++ smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28isoqlogProxyPass 2022-07-29 01:39:09.247000000 -0400
4 @@ -18,9 +18,7 @@
5
6 <Location /isoqlog>
7 SSLRequireSSL on
8 - order deny,allow
9 - deny from all
10 - allow from $localAccess $externalSSLAccess
11 + Require ip $localAccess $externalSSLAccess
12 </Location>
13
14 HERE
15 diff -Nur --no-dereference smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/85DefaultAccess smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/85DefaultAccess
16 --- smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/85DefaultAccess 2012-08-21 00:34:21.000000000 -0400
17 +++ smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/85DefaultAccess 2022-07-29 01:39:09.249000000 -0400
18 @@ -5,9 +5,7 @@
19 <Directory />
20 Options None
21 AllowOverride None
22 - order deny,allow
23 - deny from all
24 - allow from none
25 + Require all denied
26 </Directory>
27
28
29 diff -Nur --no-dereference smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog
30 --- smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog 2022-07-29 01:38:18.635000000 -0400
31 +++ smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog 2022-07-29 01:42:03.088000000 -0400
32 @@ -10,9 +10,7 @@
33 php_admin_value session.save_path /var/lib/php/isoqlog-session
34 php_admin_value openbase_dir /var/lib/qmailtools/isoqlog/htdocs:/var/lib/php/isoqlog-session
35 AllowOverride None
36 - order deny,allow
37 - deny from all
38 - allow from 127.0.0.1
39 + Require ip 127.0.0.1
40 </Directory>
41
42 # /ca is only allowed for admin and explicitely authorized users
43 @@ -20,7 +18,10 @@
44 AuthName "Isoqlog Admin"
45 AuthType Basic
46 TKTAuthLoginURL /server-common/cgi-bin/login
47 - require user admin {getUsersList("isoqlog");}
48 + <RequireAll>
49 + Require user admin {getUsersList("isoqlog");}
50 + Require ip 127.0.0.1
51 + </RequireAll>
52 {
53 my $ManagerTimeout = ${'httpd-admin'}{ManagerTimeout} || "30m";
54 $OUT = " TKTAuthTimeout $ManagerTimeout\n";
55 @@ -29,6 +30,5 @@
56 my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66";
57 $OUT .= " TKTAuthTimeoutRefresh $ManagerTimeoutReset\n";
58 }
59 - Satisfy all
60 </Location>
61

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