[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Incomprehensible CGI error



Dave Neuer wrote:
> I am trying to get a CGI script written in Perl running, and I keep
> getting a wierd error that I don't understand:
> 
> "access to /usr/lib/cgi-bin/testscript.pl failed for *machine name*,
> reason: Premature end of script headers"
> 
> Anyone know what this means?  Other Perl scripts with similar
> construction seem to be working OK, can't seem to pin this one down.

This is typically a CGI script that is dying before it gets around to
printing out the Content-type: text/html\n\n header. Try running the script
from your shell and see if it gets that far.

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: