On Feb 2, 2009, at 12:04 PM, Claudio Kuenzler wrote:
this is all set for apache though, not in roundcube.
Do a Google for "apache redirect https"
Some examples, not sure which one best fits your environment :
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%%7BHTTP_HOST%7D%%7BREQUEST_URI%7D
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/secret(.*)$ https://www. example.com/secret/$1 [L,R]
Where any of those goes in the config files is important, it has to
load before the SSL directives.