Dynamic apache config
Kurth Bemis
kurth at usaexpress.net
Wed Jun 4 10:29:10 EDT 2003
20 mins using a perl script that runs every 10 mins, checks for changed
domains in DB...when it finds one it rebuilds the httpd.conf and HUPs
apache.
this is with 1.3, haven't tried 2 yet.
for new domains we just have the per lscript add the vhost on the end it
the config file...
It's all part of the interface that we're building for our hosting and
connectivity customers.
~kurth
bscott at ntisys.com wrote:
> On 3 Jun 2003, at 4:16pm, colet at code-energy.com wrote:
>
>>I'm looking for a little more magic with a little less regenerating
>>httpd.conf. *grin*
>
>
> Question: Why? How often will your virtual host setup change?
>
> I agree that generating a config file is not as elegant as pulling it
> right from the database, but, from a strictly pragmatic point of view, it
> might be the best overall solution.
>
>
>>I've found something that seemingly does what I want
>>(http://www.synthemesc.com/mod_vdbh/) but is only available for Apache
>>2.0.x ... and I'm running 1.3.x right now.
>
>
> I think I remember reading that one of the goals with the Apache 2.x
> redesign was to make things like what you're talking about easier.
>
More information about the gnhlug-discuss
mailing list