Re: PerlOptions +Parent

"Philippe M. Chiasson" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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\@(apache|cpan|ectoplasm)\.org/
signature.asc (application/pgp-signature, 250 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLcGvDyzKhB4jDpaURAj5KAJ4g04werlaPmYL9h2kYj8un8zLVkACeNH3D
jSXedbENAbk9PaYC7ipgfDw=
=Da7R
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.