graq has asked for the wisdom of the Perl Monks concerning the following question:
The current setup uses <Perl> use lib '/path/to/lib'</Perl> configuration, but this is loaded on Apache configuration and is shared by all VirtualHosts.
I have tried adding PerlSwitches -I/path/to/lib inside the VirtualHost (it looked like the perfect solution), but this does not appear to be sufficent for my LoadModule modules.
I appreciate that I could run a second Apache demon using the -f switch, but I would prefer to find some other way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
by idsfa (Vicar) on Mar 28, 2006 at 18:26 UTC | |
by ikegami (Patriarch) on Mar 28, 2006 at 18:37 UTC | |
by graq (Curate) on Mar 29, 2006 at 09:07 UTC | |
by graq (Curate) on Mar 29, 2006 at 10:48 UTC | |
|
Re: Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
by ikegami (Patriarch) on Mar 28, 2006 at 18:50 UTC |