Hi Ray -- > Jesse are you saying that you have a single apache server running > multiple vhosts with different versions of the same module loaded for > different vhosts? Is that actually possible? > > I thought that whenever you first require ModuleX it will use the > value of PERL5LIB in that context to load it, but the next time a > require happens, even if PERL5LIB is different, it will see that the > ModuleX is loaded and won't even try to load the one from a different > directory. Right? > > What I do (with a very limited number of vhosts) is have each vhost > proxy to a different backend server which does have its own version > of (nearly) everything.
That's very nearly exactly what I do. I prefer to have each site have its own Apache instance because there is some contention in the way mod_perl caches code. Your vhost/reverse-proxy solution is a good one, particularly for places where there is a shortage of IP addresses. TTYL, -Jesse-