aaly

Registered
Nov 28, 2005
3
0
151
I needed to enable .htaccess override in order to make mode rewrite functional so changed Allow override from none to all in httpd.conf restarted apache and it failed. Dont know whats gone wrong. Then I rebuild apache from whm and stated to Reset Apache Config to Default.

Apache works then I made the modification one more time with no luck but apache started after that.

Now I have a new problem when I go to mydomain.com/cpanel I get a 404 not found page or
mydomain/whm ?

Can someone help me please ?
 

rootuser

Well-Known Member
Jan 31, 2005
124
0
166
***INDIA***
Check your httpd.conf file and find following alias is there or not

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