1 |
unnilennium |
1.1 |
diff -Nur smeserver-phpvirtualbox-4.3.0-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60redir-phpvirtualbox smeserver-phpvirtualbox-4.3.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60redir-phpvirtualbox |
2 |
|
|
--- smeserver-phpvirtualbox-4.3.0-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60redir-phpvirtualbox 1970-01-01 01:00:00.000000000 +0100 |
3 |
|
|
+++ smeserver-phpvirtualbox-4.3.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60redir-phpvirtualbox 2013-10-20 14:48:41.000000000 +0200 |
4 |
|
|
@@ -0,0 +1,13 @@ |
5 |
|
|
+{ |
6 |
|
|
+if ($port ne "443") |
7 |
|
|
+{ |
8 |
|
|
+$OUT .= <<'HERE'; |
9 |
|
|
+## Redirect phpvirtualbox Address to Secure Address |
10 |
|
|
+RewriteEngine on |
11 |
|
|
+RewriteRule ^/phpvirtualbox https://%{HTTP_HOST}/phpvirtualbox |
12 |
|
|
+ |
13 |
|
|
+## End Of Redirect |
14 |
|
|
+HERE |
15 |
|
|
+} |
16 |
|
|
+} |
17 |
|
|
+ |