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.

Premature end of script headers

Discussion in 'General Discussion' started by camposomar, Oct 2, 2009.

  1. camposomar

    camposomar Active Member
    PartnerNOC

    Joined:
    Mar 30, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Guadalajara
    hello all,

    i have a script by send mail, but try run appear 500 Error

    log of error:

    [Fri Oct 02 15:21:55 2009] [error] [client 0.0.0.0] Premature end of script headers: cgiemail

    i try access by:

    http://domain.tld/cgi-bin/cgiemail/

    somebody can help me?:(
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
  3. votethehost.com

    votethehost.com Active Member

    Joined:
    Oct 2, 2009
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicago
    Something is going wrong when your CGI script is executed. Check the apache logs and any other output the script is written to produce to see what is going on.

    Make sure that your script is returning something to the browser, starting with something equivalent to


    Or maybe you are trying to use sendmail with the wrong path or parameters?

    If those don't work, try seeing a more detailed error message by including


    in your script.
     
Loading...

Share This Page