Forum Moderators: coopster & phranque

Message Too Old, No Replies

Premature end of script headers

What does this mean?

         

physics

1:30 am on Dec 17, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm trying to run a .cgi on my server but I get a 500 error. The permissions are wide open and I've checked the script... it looks good. It's pretty simple too, just takes in some text and then outputs a page. I got this error message from the apache error logs. Any pointers would be great, thanks!

littleman

1:36 am on Dec 17, 2001 (gmt 0)



physics, a 500 error is wide open. It could be your path to perl or a number of other things. The easiest way to debug a script is to try to run it via command line or dos prompt. You could download perl for window at activestate.com

Cyborg

11:45 am on Dec 18, 2001 (gmt 0)



You may run:
perl.exe script.cgi
without apache, and it out string with error data.