httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
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] Premature end
> of script headers: hello.cgi


> 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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message