httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@lnd.com>
Subject server_conf and the Win32 MPM
Date Thu, 27 Jul 2000 00:11:19 GMT
Two questions,

Win32 had a function to read the httpd.conf file for the PidFile
directive.  If we pass server_conf through ap_run_pre_config, is
there a function to read one root level config directive from
the server_conf structure?  Would anyone object to server_conf
becoming an argument of ap_run_pre_config?

The reason is simple, we don't care that there are errors, when
the admin types apache -k stop, we want to die, no questions asked.


Secondly... I'm cleaning up my mess, and the Apache 2.0 code now
lives and breathes the default service config ("Apache").  If we
provide no argument, it assumes we are asking to invoke the service
"Apache" and all it's ConfigOpts.  Without an installed, default
service we get errors.  I'm thinking of eliminating this.

The question to the group, is 'everything' a service under Win32,
and if not, when is the Apache command a service, and when isn't it.
Apache -k [install|uninstall(remove)|start|stop(shutdown)|restart]
should be obvious, but what about no -k argument?  Do we approve
of this behavior or not?  A related issue, should Apache -k stop 
stop either the "Apache" service if it's started and a command-line
apache invocation?  Or is it time to stop worring about stoping and
restarting console apache (which is already visible, and shouldn't
need new hacks to hide it for Win9x?)

The risk is that a user typing Apache expects the same tests as
the user typing Apache -k start ... if the system doesn't invoke
the installed service's options (-D, -c, -C etc...) then they
can't tell what is working and what is broken.

Off to find food.

Bill



Mime
View raw message