Re: Dynamic VirtualHost's
[prev]
[thread]
[next]
[Date index for 2005/03/04]
On Thu, 2005-03-03 at 11:44 +0100, Marc Gr=C3=A0cia wrote:
> Is not necesary to restart apache... A "graceful" do the job.
> I'm using this approach, and is really quick and not visible for end
> users. (I have 50 or so virtualhosts, so maybe in your case can be a
> little slower).=20
> Maybe some time after the "graceful" we have a little more load
> (apache is replacing processes an all this) but works like a charm.
> I think this is easily tested in your setup.=20
>=20
>=20
Strange - Ive always found that 'graceful' (althou a great option) plays
havoc with mod_perl applications.
> El dc 02 de 03 del 2005 a les 16:18 +0100, en/na Roman va escriure:=20
> > 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=20
> > 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=20
> > 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
> --=20
> Marc Gr=C3=A0cia <mgracia@xxxxxxxxx.xxx>
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