Running RT2 & RT3 on same machine

For a variety of reasons, I came to the conclusion that I’d like to try to
run RT2 and RT3 in parallel on the same machine for a while.

I attempted to do this by simply setting up Apache with two virtual hosts
(say rt2.x.com, rt3.x.com) and linked each to /opt/rt2, /opt/rt3
respectively. Databases exist for each, etc.

Apache/mod_perl seems to not enjoy having both rt2 and rt3 running in the
same webserver. I assume this is due to program/namespace conflicts. Is
there any easy solution to this (v3 webmux.pl trying to clobber v2
webmux.pl’s namespace, etc), or do I have to run entirely separate
instances of apache?

Thanks,
Dave

David C. Troy [dave@toad.net] 410-384-2500 Sales
ToadNet - Want to go fast? 410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net

“DCT” == David C Troy dave@toad.net writes:

DCT> webmux.pl’s namespace, etc), or do I have to run entirely separate
DCT> instances of apache?

Yes, it is mod_perl’s sharing of name space that is hosing you. Try
either running one or both under fast_cgi or speedy_cgi as they keep
each app separate in its own process and name space.

I’m planning to test out RT3 using speedy_cgi…

“DCT” == David C Troy dave@toad.net writes:

DCT> webmux.pl’s namespace, etc), or do I have to run entirely separate
DCT> instances of apache?

Yes, it is mod_perl’s sharing of name space that is hosing you. Try
either running one or both under fast_cgi or speedy_cgi as they keep
each app separate in its own process and name space.

I’m planning to test out RT3 using speedy_cgi…

You can also run separate httpd instances bound to different
IP aliases and/or port numbers if you want to stick to mod_perl.

Les Mikesell
les@futuresource.com