61 |
</Location> |
</Location> |
62 |
|
|
63 |
HERE |
HERE |
64 |
|
diff -Nur --no-dereference smeserver-BackupPC-0.2.old/root/etc/httpd/bkpc-conf/httpd.conf smeserver-BackupPC-0.2/root/etc/httpd/bkpc-conf/httpd.conf |
65 |
|
--- smeserver-BackupPC-0.2.old/root/etc/httpd/bkpc-conf/httpd.conf 2022-07-31 21:34:49.060000000 -0400 |
66 |
|
+++ smeserver-BackupPC-0.2/root/etc/httpd/bkpc-conf/httpd.conf 2022-07-31 21:40:48.635000000 -0400 |
67 |
|
@@ -57,7 +57,6 @@ |
68 |
|
|
69 |
|
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so |
70 |
|
LoadModule unixd_module modules/mod_unixd.so |
71 |
|
-LoadModule access_compat_module modules/mod_access_compat.so |
72 |
|
LoadModule authn_core_module modules/mod_authn_core.so |
73 |
|
LoadModule : modules/mod_authz_core.so |
74 |
|
|
75 |
|
@@ -158,9 +157,7 @@ |
76 |
|
<Directory /> |
77 |
|
Options None |
78 |
|
AllowOverride None |
79 |
|
- order deny,allow |
80 |
|
- deny from all |
81 |
|
- allow from none |
82 |
|
+ Require all denied |
83 |
|
</Directory> |
84 |
|
|
85 |
|
|
86 |
|
@@ -171,23 +168,20 @@ |
87 |
|
<Directory /usr/share/BackupPC/html/> |
88 |
|
Options None |
89 |
|
AllowOverride None |
90 |
|
- order deny,allow |
91 |
|
- deny from all |
92 |
|
- allow from 127.0.0.1 |
93 |
|
+ Require ip 127.0.0.1 |
94 |
|
</Directory> |
95 |
|
|
96 |
|
<Directory /usr/share/BackupPC/sbin/> |
97 |
|
Options ExecCGI |
98 |
|
AllowOverride None |
99 |
|
- order deny,allow |
100 |
|
- deny from all |
101 |
|
- allow from 127.0.0.1 |
102 |
|
AuthName "BackupPC" |
103 |
|
- AuthType Basic |
104 |
|
+ AuthType Basic |
105 |
|
TKTAuthLoginURL /server-common/cgi-bin/login |
106 |
|
- require valid-user |
107 |
|
SetEnv IMGHDR_SRC "/server-common/server-manager.jpg" |
108 |
|
- Satisfy all |
109 |
|
+ <RequireAll> |
110 |
|
+ Require valid-user |
111 |
|
+ Require ip 127.0.0.1 |
112 |
|
+ </RequireAll> |
113 |
|
</Directory> |
114 |
|
|
115 |
|
|