I'm using modperl 2 and I have several virtual hosts setup. I'm currently loading the startup.pl file for the system with PerlRequire.
Inside the startup.pl I'm using use lib qw() to load directories into the @INC
The problem I'm running into is I need to load different @INC base on the different virtual hosts. I attempted to put the PerlRequire in the virtual host section but Apache just load all of them and I end up with all the directories.
Is there a way to tell Mod Perl to load different INC base on the virtual hosts.
Thank you.
Start Free Trial