[Catalyst] How to configure multiple Apps with mod_perl?

Juan Camacho jc5826 at gmail.com
Mon May 16 19:22:19 CEST 2005


On 5/13/05, n.a <n.a at ad.wakwak.com> wrote:
> I want to build multiple Catalyst applications in one host
> with apache/mod_perl(1.29).
> 

I'm not sure if this will help, but you can use virtual hosts and the
Apache::PERLVINC module to use different libraries on the same system.

PerlModule Apache::PerlVINC

<VirtualHost ...>

     <Location /rs>
         SetHandler  perl-script
         PerlHandler Foo::MyCatalystApp
         PerlINC     /usr/local/apache/sites/foo/lib
         PerlFixupHandler Apache::PerlVINC
         PerlVersion Foo/MyCatalystApp.pm
     </Location>

</VirtualHost>



More information about the Catalyst mailing list