1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/ProxyPassContent mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/ProxyPassContent |
2 |
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/ProxyPassContent 2006-03-14 11:47:17.000000000 -0500 |
3 |
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/ProxyPassContent 2006-07-15 19:01:18.000000000 -0400 |
4 |
@@ -4,5 +4,8 @@ |
5 |
my $d = $db->get($virtualHost); |
6 |
my $t = $d->prop('ProxyPassTarget'); |
7 |
|
8 |
- $OUT = " ProxyPass / $t"; |
9 |
+ $t =~ s|http://|https://| if ($port eq "443"); |
10 |
+ |
11 |
+ $OUT .= " ProxyPass / $t\n"; |
12 |
+ $OUT .= " ProxyPassReverse / $t"; |
13 |
} |