Dave Hill wrote: > Hi again, > I am back again with a proposed change to apachectl.... > With the input from Aaron, I reworked my proposed fix/enhancement. > In a nutshell, for a wide variety of reasons I want apachectl to > pass -DWARP and other define toggles through to the server invocation. > Customers like apachectl, and I like giving them example code wrapped in > <Defined> blocks.
I've got a /etc/init.d/httpd script that reads in /etc/sysconfig/$0 if it exists and gets httpd options from there. IMHO a better solution than $HTTPD_OPTIONS - your environment does not affect the command's results yet you don't need to type stuff every time, and it works with multiple instances (I have a restrictive and a relatively permissive server configuration). Not submitted to Apache because init scripts are pretty system-specific. -- Scott Lamb