httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Premature end of script headers
Date Tue, 21 Feb 2006 14:30:29 GMT
On Tuesday 21 February 2006 14:12, Tom Cat wrote:
> All of my perl scripts generate this error when I try to have Apache
> serve them.  I'm on RHEL with Apache 2.0.52.
>
> The simplest script I have is:
> #!/usr/bin/perl
> print "Hello";

That's not a CGI script.

> In the error log I'm told:
> [Tue Feb 21 08:57:48 2006] [error] [client 10.33.1.32] Premature end
> of script headers: hello.cgi

Yep.

> I don't know what to do at this point.  What should I try next?

Reading any basic introduction to CGI would be a start.

-- 
Nick Kew

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