On Fri, 22 Dec 2000, Todd Finney wrote:

> I'm trying to move my VHost-specific libraries into more 
> logical directories (for me).  I have a number of them, and 
> I'd rather not just use them all in my startup.pl - mostly 
> because of concern over name collisions 
> (Site1::connect_to_db(), Site2::connect_to_db()).
> 
> If I use this in a <VirtualHost> section in  my httpd.conf:
> 
> <Perl>
>       use lib('/www/mylibs');
> </Perl>
> 
> libraries under /www/mylibs/ are available to all 
> VirtualHosts, at least as far as I can tell.  Is there a 
> way to make the directive apply to only a single 
> VirtualHost, or another way to do this?

http://perl.apache.org/guide/config.html#Is_There_a_Way_to_Modify_INC_on


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/  


Reply via email to