On Tue, Nov 11, 2003 at 06:16:34PM +0000, Graeme Fowler wrote:
> Hi
> 
> On Tue, 2003-11-11 at 17:43, Cees Hek wrote:
[snip]
> > Flip your strategy around, and have a plain old perl script
> > generate the proper Apache config files for your VirtualHosts
> > and place those config files in a directory that Apache
> > automatically parses.
> 
> This is precisely the approach I'm using at the moment; however I'm
> looking into reload speed and this will not scale far enough for me. I
> could be looking at tens of thousands of virtual hosts per server in a
> load balanced environment, so the idea of having either one enormous
> file or tens of thousands of small ones is something I'm trying to get
> away from.
[snip]

Is there a particular reason you've chosen to generate many VirtualHost
directives in your configuration file?  Have you tried mod_vhost_alias?
It sounds like a perfect fit for you.

http://httpd.apache.org/docs-2.0/mod/mod_vhost_alias.html

-chris

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to