Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/cpanel and /whm NOT working..

Discussion in 'General Discussion' started by Traxio CPU, Sep 1, 2004.

  1. Traxio CPU

    Traxio CPU Registered

    Joined:
    Sep 1, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    I simply get a 404 error while trying to access /cpanel and /whm

    Any ideas? I've run:

    /scripts/sysup
    /scripts/upcp
    /scripts/updatenow

    Didn't work

    Info:
    WHM 9.4.0 cPanel 9.4.1-R64
    RedHat Enterprise 3 - WHM X v3.1.0
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Does your httpd.conf file have these 2 lines:

    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Traxio CPU

    Traxio CPU Registered

    Joined:
    Sep 1, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Where is it located? I'm a redhat server admin but i'm not used to this cPanel stuff..
     
  4. AlphaWebspace

    AlphaWebspace Well-Known Member

    Joined:
    May 1, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kindom
    I think it is located here: /usr/local/cpanel/apache/config/httpd.conf but I'm not sure.

    To find out in ssh as root: locate http.conf

    a couple of things come up then see if: http.conf is

    then:

    pico /usr/local/cpanel/apache/config/http.conf (if it is correct)

    and see if it has:

    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    In my case it's /usr/local/apache/conf/httpd.conf.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    Try this

    pico /etc/httpd/conf/httpd.conf

    find the following if not please add

    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


    :))
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice