Redirect domain.com/webmail to webmail.domain.com
I used the search and found this thread which was not resolved: http://forums.cpanel.net/f43/redirect-www-domain-com-webmail-webmail-domain-com-341611.html
Currently using WHM 11.48.0.
I would like to redirect from domain.com/webmail to webmail.domain.com. This is because domain.com/webmail redirects to port 2095 and I don't want to use that port for another reason.
-
Hi, Please see the links below: -- -- Thanks, 0 -
] Please see the links below:
You should reserve the irony for when it doesn't turn into unawareness. - Removed - I want to REDIRECT from domain.com/webmail to webmail.domain.com, I haven't found the answer in lmgtfy nor any of the searches I've made. Maybe there is and I am a little obtuse, thats why I am asking for help.0 -
Hello :) The "ScriptAliasMatch" entries for /cpanel, /whm, and /webmail are removable and modifiable in the /usr/local/apache/conf/httpd.conf file. EX: ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
Remember to make the modifications using the instructions at the URL below to ensure the changes are preserved: Custom Directives Outside of a VirtualHost Tag Thank you.0
Please sign in to leave a comment.
Comments
3 comments