Re: incomplete headers (0 bytes) received from server error

Samantha Gilster <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Marc D Prewitt <mprewitt@...> writes:

> 
> Try running this from the command line and see if you get a perl error.
> 
> Also, a much more straightforward way to use FCGI with perl is as follows:
> 
> use CGI::Fast;
> 
> my $count = 0;
> while (my $q = new CGI::Fast()) {
>      print("Content-type: text/html\r\n\r\n",
>            "<title>FastCGI echo (Perl)</title>\n",
>            "<h1>FastCGI echo (Perl)</h1>\n",
>            "Request number ", ++$count, "<p>\n");
> }
> 

Thanks for the response Marc. I ended up testing the scripts on a different box,
and everything worked fine. I wiped my system and did a fresh install from the
ground up, and everything works now. Would have been nice to have a more
specific error to pin down what the issue was, but it's not bad to clean up a
dev box from time to time.

-Samantha

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.