httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7470] - apachectl should read PIDFILE location from httpd.conf
Date Tue, 26 Mar 2002 03:25:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7470>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7470

apachectl should read PIDFILE location from httpd.conf

slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From slive@apache.org  2002-03-26 03:25 -------
Thanks for your suggestion.  This has been brought up before.
It has been rejected each time, because apachectl is supposed to be just
a simple shell script.  (Admittedly, it has gotten more and more complicated
over time.)  What it needs to know about configuration should be either
provided at compile time, or manually provided by the administrator.  It should
be thought of more as an example than as the be-all and end-all of apache
management.

Your solution fails not only in the obvious case where httpd.conf is moved,
but also in the case where Include (or ResourceConfig or AccessConfig) is used
to bring in other configuration files.

We prefer to keep the dumb solution that will fail in obvious ways, rather
than the fancier solution that could fail in subtle ways.

A better solution would be to port the httpd command line options that are
used in windows to signal a running server to shutdown or restart.  httpd
knows everything about the configuration, and is therefore in a much better
position than a shell script to do this work.

Thanks again.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message