1 |
unnilennium |
1.1 |
diff -Nur smeserver-roundcube-0.9-old/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 |
2 |
|
|
--- smeserver-roundcube-0.9-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30RoundCubeAliases 2013-10-20 15:47:13.000000000 +0200 |
3 |
|
|
+++ smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30RoundCubeAliases 1970-01-01 01:00:00.000000000 +0100 |
4 |
|
|
@@ -1,11 +0,0 @@ |
5 |
|
|
-{ |
6 |
|
|
- my $status = $roundcube{'status'} || "disabled"; |
7 |
|
|
- return " # roundcube is disabled in this VirtualHost" |
8 |
|
|
- unless $status eq 'enabled'; |
9 |
|
|
- |
10 |
|
|
- if ($port eq "443") |
11 |
|
|
- { |
12 |
|
|
- $OUT .= " ProxyPass /roundcube/ http://127.0.0.1/roundcube/\n"; |
13 |
|
|
- } |
14 |
|
|
-} |
15 |
|
|
- |
16 |
|
|
diff -Nur smeserver-roundcube-0.9-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60RoundCube-force-https smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60RoundCube-force-https |
17 |
|
|
--- smeserver-roundcube-0.9-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60RoundCube-force-https 1970-01-01 01:00:00.000000000 +0100 |
18 |
|
|
+++ smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60RoundCube-force-https 2013-10-20 15:55:58.000000000 +0200 |
19 |
|
|
@@ -0,0 +1,21 @@ |
20 |
|
|
+{ |
21 |
|
|
+ my $status = $roundcube{'status'} || "disabled"; |
22 |
|
|
+ return " # roundcube is disabled in this VirtualHost" |
23 |
|
|
+ unless $status eq 'enabled'; |
24 |
|
|
+ |
25 |
|
|
+{ |
26 |
|
|
+if ($port ne "443") |
27 |
|
|
+{ |
28 |
|
|
+$OUT .= <<'HERE'; |
29 |
|
|
+## Redirect roundcubeWeb Address to Secure Address |
30 |
|
|
+RewriteEngine on |
31 |
|
|
+RewriteRule ^/roundcube https://%{HTTP_HOST}/roundcube |
32 |
|
|
+ |
33 |
|
|
+## End Of Redirect |
34 |
|
|
+HERE |
35 |
|
|
+} |
36 |
|
|
+} |
37 |
|
|
+ |
38 |
|
|
+} |
39 |
|
|
+ |
40 |
|
|
+ |