/[smecontribs]/rpms/smeserver-BackupPC/contribs10/smeserver-BackupPC-0.2-bz12036-24syntax.patch
ViewVC logotype

Contents of /rpms/smeserver-BackupPC/contribs10/smeserver-BackupPC-0.2-bz12036-24syntax.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jul 25 14:15:40 2022 UTC (22 months, 2 weeks ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_2-11_el7_sme, smeserver-BackupPC-0_2-12_el7_sme
* Mon Jul 25 2022 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.2-11.sme
- update to httpd 2.4 syntax [SME: 12036]

1 diff -urN smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/85DefaultAccess smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/85DefaultAccess
2 --- smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/85DefaultAccess 2022-07-22 11:43:27.145830596 +0300
3 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/85DefaultAccess 2022-07-22 11:56:46.128716095 +0300
4 @@ -5,9 +5,7 @@
5 <Directory />
6 Options None
7 AllowOverride None
8 - order deny,allow
9 - deny from all
10 - allow from none
11 + Require all denied
12 </Directory>
13
14
15 diff -urN smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC
16 --- smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC 2022-07-22 11:43:27.145830596 +0300
17 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC 2022-07-22 12:19:48.715584042 +0300
18 @@ -5,17 +5,12 @@
19 <Directory /usr/share/BackupPC/html/>
20 Options None
21 AllowOverride None
22 - order deny,allow
23 - deny from all
24 - allow from 127.0.0.1
25 + Require ip 127.0.0.1
26 </Directory>
27
28 <Directory /usr/share/BackupPC/sbin/>
29 Options ExecCGI
30 AllowOverride None
31 - order deny,allow
32 - deny from all
33 - allow from 127.0.0.1
34 AuthName "BackupPC"
35 AuthType Basic
36 TKTAuthLoginURL /server-common/cgi-bin/login
37 @@ -27,8 +22,10 @@
38 my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66";
39 $OUT .= " TKTAuthTimeoutRefresh $ManagerTimeoutReset\n";
40 }
41 - require valid-user
42 - Satisfy all
43 + <RequireAll>
44 + Require valid-user
45 + Require ip 127.0.0.1
46 + </RequireAll>
47 </Directory>
48
49
50 diff -urN smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28BackupPCProxyPass smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28BackupPCProxyPass
51 --- smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28BackupPCProxyPass 2022-07-22 11:43:27.144830601 +0300
52 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28BackupPCProxyPass 2022-07-22 12:23:55.791313061 +0300
53 @@ -21,9 +21,7 @@
54
55 <Location /BackupPC>
56 SSLRequireSSL on
57 - order deny,allow
58 - deny from all
59 - allow from $localAccess $externalSSLAccess
60 + Require ip $localAccess $externalSSLAccess
61 </Location>
62
63 HERE

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