Re: Separating Application and Server

Nahemoth <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On Mon, 08 Nov 2004 11:57:14 +1300, Sam Vilain <sam-s9IUA/[email protected]> wrote:
 
> > The language that I'm using is C. Can I use the environment variable
> > FCGI_SOCKET_PATH?
> 
> Sadly, there is neither a correct solution or a common convention there.
> You will need to check how the program you are using handles this, or if
> you are the maintainer, look at the examples for how to listen on an
> external socket.

I'm afraid none of the examples supplied with fastcgi source code
listen on an external socket. They use the stdin and stdout directly
without checking if the are associated to an external socket. So when
you call them from the console they exit dumping their contents to the
console.

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.