in reply to Re: Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
in thread Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
Keeping in mind the important piece of info in the parent post is PerlOptions +Parent, the docs also say -Mlib=... is buggy on certain platforms. -I... does the same thing, except it doesn't remove duplicates (which is no biggy). Therefore, he should keep his -I... and simply add PerlOptions +Parent, as follows:
<VirtualHost ...> ServerName dev PerlOptions +Parent PerlSwitches -I/home/dev/lib/perl </VirtualHost> <VirtualHost ...> ServerName test PerlOptions +Parent PerlSwitches -I/home/test/lib/perl </VirtualHost>
I presume his LoadModule needs to be placed in <VirtualHost> for it to work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
by graq (Curate) on Mar 29, 2006 at 09:07 UTC | |
by graq (Curate) on Mar 29, 2006 at 10:48 UTC |