Search Posts

Month: November 2012

Getting 500 Internal Server Error when calling domain.com/cpanel or webmail etc

Sometimes it happens that we get Internal Server Error when we try to load the domain cPanel, webmail etc using the format as follows: mydomain.com/cpanel, mydomain.com/webmail etc etc. In such cases, please add the following scripalias and scripaliasmatch in the apache conf(probably these entries must be missing, as a result cause 500 error). ————————————————————————————————— ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi ————————————————————————————————— Restart apache, […]