Ooops cross-thread-answering..  :)
Stas posted few messages above that the reload can be done inside
mod_perl , so it's even easier to setup...

Goehring, Chuck, RCI - San Diego wrote:
>  
> Well, when I use cgis that run under Registry, if  I modify a pm file,
> I have to restart the web server before I see changes. 

Chuck, use Apache::Reload and you won't have to restart the server.
http://modperlbook.org/html/ch06_08.html

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



El dj 03 de 03 del 2005 a les 11:44 +0100, en/na Marc GrÃcia va
escriure:
> 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). 
> 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. 
> 
> 
> El dc 02 de 03 del 2005 a les 16:18 +0100, en/na Roman va escriure: 
> > 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.
> > 
> > 
> -- 
> Marc GrÃcia <[EMAIL PROTECTED]>

Reply via email to