diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass --- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass 2006-03-14 11:47:18.000000000 -0500 +++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass 1969-12-31 19:00:00.000000000 -0500 @@ -1,28 +0,0 @@ -{ - # vim: ft=perl: - - $haveSSL = (exists ${modSSL}{status} and ${modSSL}{status} eq "enabled") ? 'yes' : 'no'; - $plainTextAccess = ${'httpd-admin'}{PermitPlainTextAccess} || 'no'; - - $OUT = ''; - foreach $place ('server-manager','server-common','user-password') - { - if (($port eq "80") && ($haveSSL eq 'yes') && ($plainTextAccess ne 'yes')) - { - $OUT .= " RewriteRule ^/$place(/.*|\$) https://%{HTTP_HOST}/$place\$1 [L,R]\n"; - } else { - $OUT .= " ProxyPass /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place/\n"; - } - - $OUT .= " \n"; - $OUT .= " order deny,allow\n"; - $OUT .= " deny from all\n"; - if (($haveSSL eq 'yes') && (($port eq "443") || ($plainTextAccess ne 'yes'))) - { - $OUT .= " allow from $localAccess $externalSSLAccess\n"; - } else { - $OUT .= " allow from $localAccess\n"; - } - $OUT .= " \n"; - } -}