1 |
diff -Nur --no-dereference e-smith-manager-2.8.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass e-smith-manager-2.8.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass |
2 |
--- e-smith-manager-2.8.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass 2022-07-25 04:38:47.873000000 -0400 |
3 |
+++ e-smith-manager-2.8.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass 2022-07-25 04:43:41.827000000 -0400 |
4 |
@@ -21,17 +21,15 @@ |
5 |
$OUT .= " ProxyPassReverse /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n"; |
6 |
|
7 |
$OUT .= " <Location /$place>\n"; |
8 |
- $OUT .= " order deny,allow\n"; |
9 |
- $OUT .= " deny from all\n"; |
10 |
if ($port eq $httpPort) |
11 |
{ |
12 |
- $OUT .= ' allow from 127.0.0.1' . "\n"; |
13 |
+ $OUT .= ' Require ip 127.0.0.1' . "\n"; |
14 |
} |
15 |
elsif (($haveSSL eq 'yes') && (($port eq $httpsPort) || ($plainTextAccess ne 'yes'))) |
16 |
{ |
17 |
- $OUT .= " allow from $localAccess $externalSSLAccess\n"; |
18 |
+ $OUT .= " Require ip $localAccess $externalSSLAccess\n"; |
19 |
} else { |
20 |
- $OUT .= " allow from $localAccess\n"; |
21 |
+ $OUT .= " Require ip $localAccess\n"; |
22 |
} |
23 |
$OUT .= " </Location>\n"; |
24 |
} |