FW: newbie installation problems
Tom Lynch <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
I'm posting this again, as I received no responses. I sure would like to get started with fastcgi, but I don't know how to embed a link in html that will invoke the server. I have tried some variations as noted below. I sure would appreciate some help. If this is the wrong forum I apologize, but can someone point me to a correct forum. From: [email protected] To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org Subject: newbie installation problems Date: Mon, 16 Mar 2009 14:15:22 -0600 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?) What can you do with the new Windows Live? Find out _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers