Re: Dynamic VirtualHost's

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

From: David J Radunz
Subject: Re: Dynamic VirtualHost's
Date: 05:18 on 03 Mar 2005
Althou its not ideal - the whole procedure can be done dynamically by
setting up just one VirtualHost and adding a perl handler to dynamically
set the document_root :) But depending what sort of hosting your doing
this solution may not be the best for you. For this to work you will
need to turn canocal names off.

DJ

On Wed, 2005-03-02 at 16:18 +0100, Roman wrote:
> Hi all,
> Is it possible to dynamically create VirtualHost's using mod_perl,=20
> 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=20
> <VirtualHost></VirtualHost> 's in the Apache .conf file, does it ?=20
> (there will be maybe thousands of VirtualHost's)
>=20
> Thank you in advance,
> Roman.
>=20
>=20

This email and any files transmitted with it are confidential and =
intended solely for the=20
use of the individual or entity to whom they are addressed. Please =
notify the sender=20
immediately by email if you have received this email by mistake and =
delete this email=20
from your system. Please note that any views or opinions presented in =
this email are solely
 those of the author and do not necessarily represent those of the =
organisation.=20
Finally, the recipient should check this email and any attachments for =
the presence of=20
viruses. The organisation accepts no liability for any damage caused by =
any virus=20
transmitted by this email.=20

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