httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: [PATCH] option to remove default listener
Date Fri, 18 May 2001 22:28:36 GMT
> > what does a server do when it has no default listener?  i.e. what's the
> > point again?
> 
> Without my patch, a listener is created on port 80 if none has been
> configured.  With my patch, no such listener is created, and the
> appropriate return code is set such that the main loop is broken, the fact
> that there are no listeners is logged, and Apache exits cleanly.
> 
> This latter behavior is one that I'd like to make available, so that we in
> Solaris-land can configure Apache to run by default, but make it up to the
> end-user to enable the web server, or some other package to install a
> listener on another port.

That doesn't make any sense.  If you don't want to start httpd, then don't
run httpd at all.  There are hundreds of ways to add such a check within
the rc files.  We aren't going to change the default for Port on all
platforms, breaking backwards compatiblity for millions of servers, just
so that you can run-check httpd when it shouldn't be invoked in the first
place.

....Roy


Mime
View raw message