View Single Post
  #3  
Old 17th April 2011, 20:42
serkejal serkejal is offline
Junior Member
 
Join Date: Apr 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ncoc.nl View Post
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.:

PHP Code:
<?php 
Header
("Location: https://yourmainsite/webmail");
?>
regards,
Ronald
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..
Reply With Quote