[FASTCGI] fastcgi/apache/perl image file displaying issue

Joe neverchicken at gmail.com
Thu Sep 23 11:10:06 EDT 2010

Thank you, Jay.

I can see all the text, but with a broken image. Log is below:
[Thu Sep 23 09:57:38 2010] [error] [client] (OS 109)The pipe has
been ended.  : FastCGI: comm with server "C:/.../hello.jpg" aborted:
GetOverlappedResult() failed, referer: http://localhost/hello.fcgi
[Thu Sep 23 09:57:38 2010] [error] [client] FastCGI: incomplete
headers (0 bytes) received from server "C:....../hello.jpg", referer:

If I directly point url to I got 'Internal Server
Error' page and the log is:

[Thu Sep 23 10:06:05 2010] [error] [client] (OS 2)The system
cannot find the file specified.  : FastCGI: failed to connect to server
"C:/.../fcgi-bin/hello.jpg": CreateFile()/WaitNamedPipe() timed out
[Thu Sep 23 10:06:05 2010] [error] [client] FastCGI: incomplete
headers (0 bytes) received from server "C:/..../fcgi-bin/hello.jpg"


On Wed, Sep 22, 2010 at 3:34 PM, Jay Sprenkle <jsprenkle at gmail.com> wrote:

> Do you see "This is coming from a FastCGI server." ?
> If you do and see a "broken image" you might put in a full URL for the
> image:
> print '<img src="http://myserver.com/hello.jpg" border="0">';
> On Wed, Sep 22, 2010 at 3:09 PM, Joe <neverchicken at gmail.com> wrote:
>> Hi, all, new to fastcgi and have a lot of question to ask. I tried to
>> search on web but out of luck so far.
>> I write a fcgi Perl script as below:
>> #!c:/perl/bin/perl.exe
>> use strict;
>> use FCGI;
>> while (FCGI::accept >= 0) {
>>     print "Content-type: text/html\r\n\r\n";
>>     print "<head>\n<title>FastCGI Demo Page (perl)</title>\n</head>\n";
>>     print "<h1>FastCGI Demo Page (perl)</h1>\n";
>>     print "This is coming from a FastCGI server.\n<BR>\n";
>>     print '<img src="hello.jpg" border="0">';
>>     print "\n";
>> }
>> It does not display the image for me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20100923/b8505859/attachment.html>

More information about the FastCGI-developers mailing list