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

Re: Incomprehensible CGI error



On Mon, 15 Sep 1997, 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.

Apart from the other suggestions, there might just be an error in your 
script that causes output from perl *before* you send the header. Or 
maybe you'r running with 'perl -w' and have a variable that you use only 
once. That causes output too with -w.

Maarten

_____________________________________________________________________________
|     Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL    |
|           Computer Architecture and Digital Technique section             |
|                          M.Boekhold@et.tudelft.nl                         |
-----------------------------------------------------------------------------


--
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: