[FASTCGI] newbie installation problems
Tom Lynch
lynchcr at live.com
Mon Mar 16 16:15:22 EDT 2009
I was very excited to see someone had finally ¨done it right¨ ...
On Ubuntu I installed the apache2 server, which for html appears to be working correctly.
I also installed the fast cgi module ..
I copied the example that counts requests from the programmers manual, cut and paste. It compiled fine. I named it fcgitest1.fcgi. Is this a good naming convention?
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.
I can imagine many ways that a fast cgi server may be called, ah, but how is it supposed to be done?
Thank you for taking the time to getting my pointed in the right direction. (p.s. I was not able to search the mail archives, perhaps I missed something on that page?)
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090316/d99cbc63/attachment.html>
More information about the FastCGI-developers
mailing list