Re: Environment variable for starting up fastcgi application?
Fu Limin <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I forgot to mention that, some servers do not accept scipt file as fastcgi application (in certain platform), nor allow adding program arguments in their fastcgi configuration (MyServer as an example). That's what cause me to think about the necessity to require HTTP servers to set certain environment variables when creating fastcgi process. Fu Limin wrote: >Hi, > >Another question from me :-), should the fastcgi specifications specify >certain environment variables that must be set for the starting up of >fastcgi application? > >The reason is that, the application should have a way to check if it is >running as a fastcgi application without using fastcgi function >FCGX_IsCGI(). Since the application may support fastcgi only as a plugin >which will not be automatically loaded in normal cases (so the >application can not use the fastcgi API to check if it is running as >fastcgi application), it would be convinient if it can check an env >variable (e.g. "FASTCGI=YES") to see if it should load the fastcgi >plugin, and start to run as a fastcgi application. > >Regards, > >Limin > >___________________________________ >fastcgi-developers mailing list >http://fastcgi.com/fastcgi-developers/ > > ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/