Originally Posted by ncoc.nl
The redirection from http to https can be done in different ways, the first option(s) I think about
Create a subdomain redirecting to your https site.
Put a php or html page redirecting to your https sit, e.g.:
i use to redirect to https the mod_rewrite and mod_ssl in apache configuration file of roundcube and phpmyadmin..the problem is that i want redirect all domain.com/webmail to maindomain.com/webmail (or deactive the access from domain.com/webmail) to pass the ssl check on Common Name..
your solution is good for a subdomain like webmail.domain.com...and the use of a redirect in php or html don't redirect all http query to https but only a particular query..