Re: [users@httpd] Premature end of script headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux