PDA

View Full Version : Webmail over SSL


tgansert
20th May 2006, 20:57
Essentially I want to go to https://vhost.vdomain.tld and see what I see when I go to http://vhost.vdomain.tld:81/webmail.

How can I achieve this?

till
21st May 2006, 14:33
Add an index.php file with the following content in the web root of vhost.vdomain.tld:

<?
header("Location: http://vhost.vdomain.tld:81/webmail");
exit;
?>

tgansert
24th May 2006, 16:07
Placing that in the header with the http://vhost.vdomain.tld:81/webmail puts http://actualhost.actualdomain.tld:81:/webmail

falko
24th May 2006, 19:13
Try

<?
header("Location: http://vhost.vdomain.tld:81/webmail/");
exit;
?>

tgansert
24th May 2006, 20:37
Works beautifully. :)

Now when I browse to:
http://vhost.vdomain.tld

it basically redirects to:
http://vhost.vdomain.tld:81/webmail

Thanks!