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 redirect.cgi - SuExec issues

Discussion in 'General Discussion' started by tgibobby, Jun 30, 2005.

  1. tgibobby

    tgibobby Active Member

    Joined:
    Apr 12, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    I have an issue with accessing yourdomain.com/cpanel or /whm or /webmail. It gives Internal Server Error.

    I could access using IP/webmail as well as IP:2082, yourdomain.com:2082 etc..

    I got this working by disabling SuExec in WHM.

    When SuExec was enabled the apache error log showed "premature end of script headers" for cgi scripts in /usr/local/cpanel/cgi-sys/
    Also, apache suexec log gave error as follows:

    [2005-06-30 03:41:58]: info: (target/actual) uid: (user/user) gid: (user/user) cmd: whmredirect.cgi
    [2005-06-30 03:41:58]: error: command not in docroot (/usr/local/cpanel/cgi-sys/whmredirect.cgi)

    Does anyone know how I can get yourdomain.com/whm etc working without disabling SuExec?

    OS: CentOS release 3.5 (Final)
     
  2. tgibobby

    tgibobby Active Member

    Joined:
    Apr 12, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    156
    No one has any ideas????
     
  3. tgibobby

    tgibobby Active Member

    Joined:
    Apr 12, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    156
    Guess I have to contact the cpanel team!!
     
  4. ThinkSupport

    ThinkSupport Member

    Joined:
    Sep 28, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Try running easyapache on the server. Seems its the problem with apache configuration.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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