
bugzilla at apache
Mar 25, 2002, 8:25 PM
Post #1 of 1
(170 views)
Permalink
|
|
[Bug 7470] - apachectl should read PIDFILE location from httpd.conf
|
|
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 [at] apache changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From slive [at] apache 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 [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|