Hello there,
I have a user on this server that I want to redirect www.domain.com/webmail to a completely different site (http://mail.google.com/a/domain.com). I setup a subdomain for the user in cpanel for webmail.domain.com, pointed the subdomain setup to the /home/user/public_html/webmail directory, and inside that directory, put a very simple index.php that contains this:
When loading webmail.domain.com, it redirects properly, but www.domain.com/webmail/ still loads the cPanel webmail login. The users for that particular domain mostly have www.domain.com/webmail bookmarked, and they don't like to change habits ;-).
A long while ago (the Apache 1.x days, I'm running 2.x now), I overrode the /webmail for this user via an httpd.conf include (webmail.conf). I've emptied out that include file, but something's still getting overridden/cached and I cannot figure out where. Any ideas where?
-Jake
I have a user on this server that I want to redirect www.domain.com/webmail to a completely different site (http://mail.google.com/a/domain.com). I setup a subdomain for the user in cpanel for webmail.domain.com, pointed the subdomain setup to the /home/user/public_html/webmail directory, and inside that directory, put a very simple index.php that contains this:
PHP:
<?php
header("Location: http://mail.google.com/a/domain.com");
exit();
?>
A long while ago (the Apache 1.x days, I'm running 2.x now), I overrode the /webmail for this user via an httpd.conf include (webmail.conf). I've emptied out that include file, but something's still getting overridden/cached and I cannot figure out where. Any ideas where?
-Jake