1 |
terryfage |
1.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 |