Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: PerlOptions +Parent

Torsten Foertsch

2010-02-01

Replies: Find Java Web Hosting

Author LoginPost Reply
On Monday 01 February 2010 11:48:19 Carl Johnstone wrote:
> So rather than +Parent which just gives a VirtualHost a separate instance
> - what would be nice would be some way of specifying which perl instance
> to use in this VirtualHost. Something like:
>
> <VirtualHost *>
> ServerName www.example1.com
> PerlInstance myappv4
> </VirtualHost>
>
> <VirtualHost *>
> ServerName www.example2.com
> PerlInstance myappv4
> </VirtualHost>
>
Feasible by patching modperl's interpreter pool handling.

But how about using several apache instances and a mod_proxy-based proxy in
front to pass the requests to the appropriate instance? This can be
implemented without patching modperl.

Torsten
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.