The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel / whm 404 error

Discussion in 'General Discussion' started by aaly, Feb 4, 2007.

  1. aaly

    aaly Registered

    Joined:
    Nov 28, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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 ?
     
  2. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ***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
     
Loading...

Share This Page