Advertisement

10.06.2008 at 06:50PM PDT, ID: 23792531 | Points: 500
[x]
Attachment Details

Apache,Modperl,Virutal host

Asked by elmic in Perl Programming Language, Apache Web Server, Web Hosting

Tags: ,

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
[+][-]10.06.2008 at 09:14PM PDT, ID: 22656576

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 01:52PM PDT, ID: 22663661

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 05:54PM PDT, ID: 22665189

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 - Hierarchy / EE_QW_2_20070628