Java Mailing List Archive

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

Home » modperl.perl »

Re: PerlOptions +Parent

Philippe M. Chiasson

2010-02-08

Replies: Find Java Web Hosting

Author LoginPost Reply
On 10-02-01 06:32 , Torsten Förtsch wrote:
> 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.

Yes. and mod_python, IIRC, has such a mechanism. Might be worth
implementing, if there is a use for it.

> 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.

That solution would also be my choice.

--
Philippe M. Chiasson   GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/     m/gozer\@(protected)/


Attachment: signature.asc (zipped)
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.