in reply to dynamic httpd.conf
As mentioned previously, with mod_perl you can use <Perl> sections, etc. to do this. If mod_perl is not available, another option is to use environment variables and <IfDefine> sections. You can then set these environment variables from the apachectl, with the -D option. for example:
HTTPD="/path/to/httpd -f ... -DFOO"
<IfDefine FOO> specific conf for FOO or... Include conf/FOO_conf.conf </IfDefine>
Other sections could also be added for <IfDefine BAR>, etc. Hope this helps!
techy
|
|---|