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/ forbidden on all accounts after latest Stable upcp

Discussion in 'General Discussion' started by jough, Sep 20, 2004.

  1. jough

    jough Well-Known Member

    Joined:
    Aug 17, 2003
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philadelphia, PA
    The last time /scripts/upcp ran it messed up access to domain.com/cpanel. Now it just gives a Forbidden error when any one of my accounts tries to log into cPanel.

    I can still access cPanel from domain.com:2082 or https://domain.com:2083 but the alias fails.

    Also, domain.com/cgi-bin gives a Forbidden error.

    Running:
    WHM 9.4.0 cPanel 9.4.1-S65
    Redhat 9 - WHM X v3.1.0

    I tried running /scripts/fixeverything but to no avail.

    Any suggestions?
     
  2. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Do the aliases exist in your httpd.conf?

    Did you happen across this thread during the search you did before posting?
     
  3. jough

    jough Well-Known Member

    Joined:
    Aug 17, 2003
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philadelphia, PA
    I checked for recent threads on this, but nothing in that two year old thread helped. The redirect paths for cpanel in httpd.conf say this:

    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

    Is that correct?

    Because when I look in /usr/local/cpanel/cgi-sys/ there is no file named "redirect.cgi".

    Has it been moved in the latest version of Cpanel or something?

    I notice redirect.cgi appears in /urs/local/cpanel/base/redirect.cgi, not cgi-sys.

    Has cPanel done away with cgi-sys?
     
    #3 jough, Sep 20, 2004
    Last edited: Sep 20, 2004
  4. jough

    jough Well-Known Member

    Joined:
    Aug 17, 2003
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philadelphia, PA
    Okay, I changed all references pointing to "cgi-sys" to "base" and that fixed it. Evidently a recent version of cPanel changed the location of redirect.cgi and the latest upcp doesn't change the httpd.conf file accordingly.

    Argh. So frustrating.
     
  5. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    I am glad to hear you got it sorted out.

    Just to add to the confusion, we are running s65 on a number of servers (no RH9 though) and did not experience this problem when upgrading.
     
  6. jough

    jough Well-Known Member

    Joined:
    Aug 17, 2003
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philadelphia, PA
    Well, I hadn't upgraded since June. So I think I got a LOT of updates all at the same time. This was on an old box that I just use for testing, but I have another production box that was only one version back, and it had no problems with the upgrade.

    So I don't know. Hopefully it's just something that was overlooked.
     
Loading...

Share This Page