Redirect Problem

What you can do, is create an index.php file in your .../public_html/webmail directory with the following:
PHP:
<?
header("Location: /webmail");
?>

John
 
hmm.... wouldn't that redirect http://domain.com/index.php to http://domain.com/webmail, or subdomain.com to subdomain/webmail?

what i would do as a simple fix is:

create a subdomain named 'webmail' to make 'webmail.domain.com', upload an index.php file for the subdomain with the following content


PHP:
<?php
header("Location: http://domain.com/webmail");
?>

Then go to wbemail.domain.com... you should be directed to http://domain.com/webmail :)

Chris
 
Last edited:
Back
Top