Web Hosting Talk







View Full Version : CPanel: How to disable built-in /webmail/ ?


electric
03-14-2002, 10:27 PM
Hi there,

I use the WHM/CPanel combo, and am installing a custom webmail system for a customer tonight. I would like to disable the "built-in" NeoMail/Eubaeuie webmail that is included with CPanel.

I do not want to EVER see the NeoMail/Eubaeiue webmail pages, no matter what. It isn't good enough to simply not type in "domain.com/webmail", because the employee's are already conditioned to using this. The new email system will be in a different directory.

Can anyone please tell me how I can disable the built in webmail? My host says it can't be done.

Thanks!

AlaskanWolf
03-14-2002, 10:33 PM
remove this from your httpd.conf file

ScriptAliasMatch /webmail /usr/local/cpanel/base/wredirect.cgi
and
ScriptAliasMatch /webmail/(.*) /usr/local/cpanel/base/wredirect.cgi

stupid99
03-14-2002, 10:42 PM
Originally posted by AlaskanWolf
remove this from your httpd.conf file

ScriptAliasMatch /webmail /usr/local/cpanel/base/wredirect.cgi
and
ScriptAliasMatch /webmail/(.*) /usr/local/cpanel/base/wredirect.cgi

But won't that disable the built-in webmail from EVERY domain on the server? I only want to disable the webmail for MY one domain.. I don't think my hosting company would be too willing to disable the webmail "feature" of CPanel just for me.

Any other ideas?

AlaskanWolf
03-15-2002, 01:45 AM
thats correct, in his post he did not clearly state that he wanted it removed for just 1 domain

cant be done in cpanels current state for just one site

cbob
03-15-2002, 02:45 AM
I don't know much about .htaccess, but couldn't you create an .htaccess file so that users who type that domain's Neomail URL will be redirected to your preferred email URL?

stupid99
03-19-2002, 11:32 PM
Originally posted by AlaskanWolf

cant be done in cpanels current state for just one site

Seriously? So there's absolutely no way to shut off webmail for just one domain? That's pretty silly, isn't it? Do you know if CPanel is going to allow this "feature" sometime?

Thanks!