Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Web Application RPM
(view source)
Revision as of 15:22, 20 October 2013
589 bytes added
,
15:22, 20 October 2013
→Webserver templates
Line 254:
Line 254:
$OUT .= " ProxyPass /foo http://127.0.0.1/foo\n";
$OUT .= " ProxyPass /foo http://127.0.0.1/foo\n";
}
}
+
}
+
+
or this solution which does the automatic redirection to https protocol, you have to choose either 30FooAlias or 60FooAlias but not both.
+
+
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60FooAlias
+
+
{
+
my $status = $roundcube{'status'} || "disabled";
+
return " # roundcube is disabled in this VirtualHost"
+
unless $status eq 'enabled';
+
+
{
+
if ($port ne "443")
+
{
+
$OUT .= <<'HERE';
+
## Redirect roundcubeWeb Address to Secure Address
+
RewriteEngine on
+
RewriteRule ^/roundcube https://%{HTTP_HOST}/roundcube
+
+
## End Of Redirect
+
HERE
+
}
+
}
+
}
}
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search