in reply to Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
You almost have it. You also need the Parent option. See the docs for more info.
<VirtualHost ...> ServerName dev PerlOptions +Parent PerlSwitches -Mlib=/home/dev/lib/perl </VirtualHost> <VirtualHost ...> ServerName test PerlOptions +Parent PerlSwitches -Mlib=/home/test/lib/perl </VirtualHost>
The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
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 |
In Section
Seekers of Perl Wisdom