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 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:
    6
    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:
    6
    No one has any ideas????
     
  3. tgibobby

    tgibobby Active Member

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

    ThinkSupport Member

    Joined:
    Sep 28, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Try running easyapache on the server. Seems its the problem with apache configuration.
     
Loading...

Share This Page