Re: FW: newbie installation problems
Tom Lynch <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Daniel, Thank you for the reply. For the CGI code I just cut and pasted the event counter example (the first example) from the programming guide. It compiled without errors. Another person on the list has suggested that I haven't set up Apache correctly, though that setup is also directly from the docs, and is shown below -tom > Date: Thu, 26 Mar 2009 21:27:21 -0700 > From: [email protected] > To: [email protected] > CC: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > Subject: Re: [FASTCGI] FW: newbie installation problems > > 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] > > _______________________________________________ > FastCGI-developers mailing list > FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers