[FASTCGI] FW: newbie installation problems

Daniel Lo wilburlo at gmail.com
Fri Mar 27 00:27:21 EDT 2009


Hello Tom,

I think you need to double check the fastcgi code your are running.  I think
there may be an error in the programming code.  Also make sure you are sending
out "Content-Type: text/html" or another appropriate mime-time before sending the
body of your response.

-daniel



Monday, March 23, 2009, 4:38:06 AM, you wrote:


[clipped]

> In the httpd.conf file I added two lines to set up a static server:

>       AddHandler fastcgi-script fcgi
>       FastCgiServer /var/www/fcgitest1.fcgi

> And voila, great, in the log file it says it started my server.

> But now, how do I embed a link in an http file that calls the server?  Canīt figure it out to save my life.
> Iīve been through all the docs with reasonable carefulness ...  And I tried lots of things

> 1) I put the server in the /var/www directory, as shown above.   Then I went to mozilla and typed into the
> link window: http://localhost/fcgitest1.fcgi.   It seems a little funny as that would seem to invoke the
> server that is already running, but I reasoned that the fcgi module must turn this into a request to the
> server ..   When I do this I get an error in the apache error log:

> [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server
> "/var/www/fcgitest1.fcgi"

> This is followed by a warning that the server was shut down for not handling signal 11, and then that it was
> restarted.

[clipped]



More information about the FastCGI-developers mailing list