perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Prime <>
Subject Re: PerlSwitches -I
Date Fri, 04 Sep 2009 14:25:23 GMT
Artem Kuchin wrote:
> I have run into a problem. I want to have my packages
> precompiled in apache process with
> PerlModule X:Y
> X:Y is my own package with is located in the site directory.
> The site is a virtual host.
> However, this apache also has many other virtual hosts with ALMOST the same
> software with a package named X:Y, but a little bit modified.
> So, in those virtual hosts i also need PerlModule X:Y
> The problem is that mod_perl cannot find X:Y until i specify
> PerlSwitches -I/host1/dir
> But this works globally and cannot be specified per virtual host. I am 
> stuck here,
> but i need this personalizaed for each virtual host.
> Any workaround?

PerlOptions +Parent

I personally don't have any experience with this, but there are a number 
of threads in the archives about it, some of which actually do have 
confirmation that people managed to get it working right (IIRC)


View raw message