httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Apache and Unix domain sockets
Date Thu, 10 Oct 2002 15:00:14 GMT
uOn Thu, 10 Oct 2002, Bojan Smojver wrote:

> This might sound silly, but can one make Apache 2.0 listen to a Unix domain
> socket instead of a TCP socket?
> I looked through the code that has to do with sockets and it seemed as if that
> was not possible at this point. But I might have missed something...

It is possible.  You will need to use connection-oriented UDP sockets, but
it can be done.  For an example of how to make the server listen on
non-TCP sockets, look at the perchild MPM, and how it deals with Unix
Domain sockets.

Ryan Bloom               
550 Jean St
Oakland CA 94610

View raw message