httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] .cgi/apache problems
Date Wed, 09 Apr 2003 21:32:41 GMT

On Wed, 9 Apr 2003, Thomas E. Dukes wrote:
> [Tue Apr 08 19:57:32 2003] [error] [client 10.10.0.2] Premature end of
> script headers: classifieds.cgi
>
> I have read the FAQ about premature end of script and believe it may be
> in my virtual host setup.

That is unlikely.  The error usually means that apache tried to execute
the cgi script, but the script died before sending proper http headers.
Start by trying the following:
cd /home/www.palmettoshopper.com/html/cgi-bin/
./classifieds.cgi

Do you get proper HTTP headers from your script followed by a blank line?
If not, you need to fix your script.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message