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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to