httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irmund Thum" <it...@it97.dyn.dhs.org>
Subject Re: cgi-problems
Date Wed, 23 Jan 2002 17:11:36 GMT
----- Original Message -----
From: Owen Boyle <obo@bourse.ch>
Date: Wednesday, January 23, 2002 3:00 pm
Subject: Re: cgi-problems

> Hendrik Daldrup wrote:
> > 
> > hi there,
> > 
> > i still have some cgi-problems.
> > everything is working fine, but some scripts produce the 
> following error:
> > 
> > "Premature end of script headers: /......./cgi-bin/script_name"
> > 
> > problems is i have no clue about perl/cgi stuff, so that i dont even
> > know what this error means,
> > or where it could be related to.
> 
> It means the script is not putting out a proper CGI header before
> anything else. This could be because:
> 
> - you didn't tell it to produce a header
> - there is another error which produces output before it gets to the
> header.

this looks like DOS control characters within the script
^M
in the first line produces exactly that error
i.t


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message