You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Aaron Bannert <aa...@clove.org> on 2002/07/01 18:58:03 UTC

Re: Listen directive

On Mon, Jul 01, 2002 at 07:00:05PM +0200, Werner Schalk wrote:
> I have a question concerning the
> listen directive: The docs say
> at http://httpd.apache.org/docs-2.0/mod/mpm_common.html#listen
> the listen option is only available
> when using the prefork, perchild,
> worker or win_nt mpm. For educational
> purposes I compiled apache using the
> "--with-mpm=leader" option and "httpd -l"
> shows the leader mpm. Now I took a look
> at the httpd.conf and the listen directive
> still exists! I used a "Listen 81" to
> bind the apache to port 81 and started
> the server (2.0.39) without any problems.
> So what's wrong here? Are the docs
> incomplete or what?

I don't know of any MPMs that don't handle the Listen directive,
so it would seem that the docs are overly explicit to the extent
that they are incorrect. In other words, the Listen directive
should work fine with any MPM, including leader and threadpool.

-aaron