Re: Configuring FastCGI app
David Birnbaum <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Alexander, In that case, set it up as a FastCgiExternalServer and have mod_fastcgi connect to a UNIX or TCP socket. David. ----- On Mon, 6 Oct 2008, Alexander Galkin (Audible US) wrote: > I am fine with starting my FastCGI app myself. However, when Apache server is shut down and restarted I want mod_fastcgi to re-connect to the running instance of my FastCGI app. > > > > -----Original Message----- > From: David Birnbaum [mailto:[email protected]] > Sent: Monday, October 06, 2008 11:16 AM > To: Alexander Galkin (Audible US) > Cc: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > Subject: Re: [FASTCGI] Configuring FastCGI app > > On Fri, 3 Oct 2008, Alexander Galkin (Audible US) wrote: > >> I have FastCGI app run on Apache 2.0 server on Solaris 10. How do I configure >> FastCGI to: >> >> Â 1. I want only once instance of the app to be running. If the instance >> crashes or is killed I want mod_fastcgi to restart it. > > This is controlled with the FastCGI dynamic parameters (see the man page). > >> Â 2. I want either start the app manually or let mod_fastcgi start it upon >> request but I do not want it to kill my app when apache server is shutting >> down. Â Â > > You can't have mod_fastcgi manager you application and expect it to live when > Apache is shut down. You have to manage it on your own in that case. > > David. > _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers