us111
asked on
Url rewriting
ASKER
To be more precised, this is the same server and mod_rewrite is require for this purpose but how....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok gonna try tonight
If http://mail.mydomain.com is a separate account, you could use in a .htaccess file (if you don't have access to the configuration files)
Redirect 301 / http://www.otherdomain.com/othermail/
But if both domains are pointing to the same location, you must use mod_rewrite to check the HTTP_HOST.