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

Hi,

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?

Regards,
Trinitalian.

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

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

?(

Trinitalian.

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

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

I’ll go ahead and open a ticket now.

Thanks,
Trinitalian.

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