On Fri, Dec 14, 2001 at 01:18:54PM -0500, Jeff Trawick wrote: > Hmmm... I don't see them as analogous. > > This script is for use by apachectl to pick up environment variable > settings required for httpd to work. On most platforms, this would > just have LIBPATH/LD_LIBRARY_PATH/whatever. On some platforms this > would have settings which affect pthreads or heap management or > whatever.
I guess what I'm suggesting is to generalize this so that it has a whole bunch of variables - rather than just this one. I can definitely see how this would make writing scripts around httpd-2.0 that much easier. This script could tell you which port httpd is configured to run on, etc, etc, etc (currently apachectl has a separate port number setting for status than in the config value). Almost like apxs -q but more standardized. The third-party packagers have developed great big workarounds due to the fact that we don't provide any of the httpd configuration info in a sh-friendly manner. -- justin
