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 --- 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 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/85DefaultAccess 2022-07-22 11:56:46.128716095 +0300 @@ -5,9 +5,7 @@ Options None AllowOverride None - order deny,allow - deny from all - allow from none + Require all denied 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 --- 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 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC 2022-07-22 12:19:48.715584042 +0300 @@ -5,17 +5,12 @@ Options None AllowOverride None - order deny,allow - deny from all - allow from 127.0.0.1 + Require ip 127.0.0.1 Options ExecCGI AllowOverride None - order deny,allow - deny from all - allow from 127.0.0.1 AuthName "BackupPC" AuthType Basic TKTAuthLoginURL /server-common/cgi-bin/login @@ -27,8 +22,10 @@ my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66"; $OUT .= " TKTAuthTimeoutRefresh $ManagerTimeoutReset\n"; } - require valid-user - Satisfy all + + Require valid-user + Require ip 127.0.0.1 + 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 --- 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 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28BackupPCProxyPass 2022-07-22 12:23:55.791313061 +0300 @@ -21,9 +21,7 @@ SSLRequireSSL on - order deny,allow - deny from all - allow from $localAccess $externalSSLAccess + Require ip $localAccess $externalSSLAccess HERE 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 --- smeserver-BackupPC-0.2.old/root/etc/httpd/bkpc-conf/httpd.conf 2022-07-31 21:34:49.060000000 -0400 +++ smeserver-BackupPC-0.2/root/etc/httpd/bkpc-conf/httpd.conf 2022-07-31 21:40:48.635000000 -0400 @@ -57,7 +57,6 @@ LoadModule mpm_prefork_module modules/mod_mpm_prefork.so LoadModule unixd_module modules/mod_unixd.so -LoadModule access_compat_module modules/mod_access_compat.so LoadModule authn_core_module modules/mod_authn_core.so LoadModule : modules/mod_authz_core.so @@ -158,9 +157,7 @@ Options None AllowOverride None - order deny,allow - deny from all - allow from none + Require all denied @@ -171,23 +168,20 @@ Options None AllowOverride None - order deny,allow - deny from all - allow from 127.0.0.1 + Require ip 127.0.0.1 Options ExecCGI AllowOverride None - order deny,allow - deny from all - allow from 127.0.0.1 AuthName "BackupPC" - AuthType Basic + AuthType Basic TKTAuthLoginURL /server-common/cgi-bin/login - require valid-user SetEnv IMGHDR_SRC "/server-common/server-manager.jpg" - Satisfy all + + Require valid-user + Require ip 127.0.0.1 +