Perl '.cgi' script gives error: Premature end of script headers

Discussion in 'General Web Coding' started by Trinitalian, Oct 23, 2006.

  1. Trinitalian

    Trinitalian Guppy


    I don't know any Perl or CGI programming, but I'm trying to run a script that's written in perl.

    When I run my do.cgi script, I get the 500 Internal Server Error in my browser, and the "Premature end of script headers" error in my error log.

    Any advice anyone?

  2. Stephen

    Stephen US Operations Staff Member

    Check the permissions on the script, it is typically the reason for this from what I have seen.
  3. Trinitalian

    Trinitalian Guppy

    I get the same error with permissions set at 755 (the recommendation in the installation instructions) or even at 777.


  4. Stephen

    Stephen US Operations Staff Member

    Is this on our hosting or elsewhere? If it is hosted with us please send a ticket and we will check it for you.
  5. Trinitalian

    Trinitalian Guppy

    Yes. This is on one of my domains on my reseller service account.

    I'll go ahead and open a ticket now.

  6. Stephen

    Stephen US Operations Staff Member

    Sorry I had to ask becasue sometimes we do get more general questions like this from the outside :)

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services