Justin Erenkrantz <[EMAIL PROTECTED]> writes:
> On Fri, Dec 14, 2001 at 01:03:46PM -0500, Jeff Trawick wrote:
> > For 2.0 we currently have a key environment variable set in apachectl
> > to tell the loader how to find our shared libraries (e.g., libapr).
> > On some platforms we want to set additional environment variables so
> > that Apache runs better. End-users sometimes need to set environment
> > variables to be used by httpd/modules as well (e.g., set loader path
> > to find shared library that some DSO needs).
>
> If we're going this route, doesn't it seem better to have an
> httpd-config script in the mold of the apr-config script I just
> added? I really dislike sourcing shell scripts. (Albeit, we may
> want to obfuscate the name so that the naive user doesn't confuse
> it for a httpd configuration script to configure their server.)
> -- justin
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.
It is separate from apachectl to make them easier to tune by users by
a) separate file, not hidden in the guts of apachectl
b) user modifications preserved across make install or install-bindist
I don't see how running it as a shell script is going to help anybody.
--
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...