Dynamic VirtualHost's

[prev] [thread] [next] [Date index for 2005/03/02]

From: Roman
Subject: Dynamic VirtualHost's
Date: 15:18 on 02 Mar 2005
Hi all,
Is it possible to dynamically create VirtualHost's using mod_perl, 
taking the value of each directive in a database ? If it is, how can I 
do exactly please ?
Because actually, I'm doing things like :
-----
push(@{ $VirtualHost{'*:80'} }, \%conf);
-----
It works well, but with this method I must periodically restart Apache 
and I think it uses as many memory as when we write 
<VirtualHost></VirtualHost> 's in the Apache .conf file, does it ? 
(there will be maybe thousands of VirtualHost's)

Thank you in advance,
Roman.


        -- 
        No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01/03/2005

Dynamic VirtualHost's
Roman 15:18 on 02 Mar 2005

Re: Dynamic VirtualHost's
David J Radunz 05:18 on 03 Mar 2005

Re: Dynamic VirtualHost's
Perrin Harkins 05:32 on 03 Mar 2005

Re: Dynamic VirtualHost's
Marc =?ISO-8859-1?Q?Gr=E0cia?= 10:44 on 03 Mar 2005

Re: Dynamic VirtualHost's
Marc =?ISO-8859-1?Q?Gr=E0cia?= 10:50 on 03 Mar 2005

Re: Dynamic VirtualHost's
David J Radunz 04:37 on 04 Mar 2005

Re: Dynamic VirtualHost's
Marc =?ISO-8859-1?Q?Gr=E0cia?= 09:18 on 04 Mar 2005

Generated at 20:12 on 07 Mar 2005 by mariachi v0.52