diff -Nur -x '*.orig' -x '*.rej' smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomain mezzanine_patched_smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomain --- smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomain 1969-12-31 17:00:00.000000000 -0700 +++ mezzanine_patched_smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomain 2007-06-28 08:50:21.000000000 -0600 @@ -0,0 +1,25 @@ +{ + my $status = $roundcube{'status'} || "disabled"; + return " # roundcube-status is disabled." + unless $status eq 'enabled'; + + my $domain = $roundcube{'domain'} || "disabled"; + return " # no hostname or domain for roundcube defined" + if $domain eq 'disabled'; + + my $DocRoot = "/opt/roundcube"; + + $OUT = ""; + $OUT .= "\n"; + $OUT .= "# Redirect an existing hostname or domain to $DocRoot.\n"; + $OUT .= "\n"; + $OUT .= " ServerName $roundcube{'domain'}\n"; + $OUT .= " DocumentRoot $DocRoot\n"; + $OUT .= "\n"; + $OUT .= "\n"; + $OUT .= " ServerName $roundcube{'domain'}\n"; + $OUT .= " DocumentRoot $DocRoot\n"; + $OUT .= " SSLEngine on\n"; + $OUT .= "\n"; +} + diff -Nur -x '*.orig' -x '*.rej' smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30RoundCubeAliases mezzanine_patched_smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30RoundCubeAliases --- smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30RoundCubeAliases 2007-06-21 01:37:08.000000000 -0600 +++ mezzanine_patched_smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30RoundCubeAliases 2007-06-28 08:44:43.000000000 -0600 @@ -5,7 +5,7 @@ if ($port eq "443") { - $OUT .= " ProxyPass /roundcube http://127.0.0.1/roundcube\n"; + $OUT .= " ProxyPass /roundcube/ http://127.0.0.1/roundcube/\n"; } }