Ian Bicking wrote:
>>I'm looking for a *simple* tool that allows me to programmatically 
>>create/manage virtual hosts and all the associated rewrite rules for WebKit.   
>>One option I'm considering is using Cheetah to create a templated version of 
>>httpd.conf and writing a wrapper for the apachectl command that ensures 
>>httpd.conf is up to date.
> 
> 
> That's how I'd do it.  If you aren't concerned about parsing legacy
> configuration files, but only creating new ones (in an insulated
> fashion, i.e., no one will edit the results by hand) then I'm pretty
> sure a template will make you happiest.

I'd personally avoid httpd.conf and try using
srm.conf instead, since it's processed after
httpd.conf and unused otherwise.
It seems to be begging for you to load all your
site-specific stuff there and avoid parsing through
all the other unnecessary parts of httpd.conf

(You can override the name srm.conf
with the ResourceConfig directive.)
-- 
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to