Suggestion for a wishlist feature.

I've got around 20 different sites, each of which is configured as it's own 
VirtualHost. Now from time to time I run a different newer version of our 
app on some of the VirtualHosts, whilst leaving others running the original 
code base.

Following some discussion here I tested and implemented the use of 
"PerlOptions +Parent" and this works just fine.

However my only problem with this is that what I'm effectively doing is 
running a separate perl instance for each of those VirtualHosts, sometimes 
I'll have half a dozen - even though I've only got two codebases.

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>


Where www.example1.com creates a new instance named "myappv4", and 
www.example2.com uses the instance the first vhost created.

Carl

Reply via email to