Oliver,
I replied directly to you; if you didn’t get the reply, I’ve included it
again below. Also cc’ing the list, as maybe someone else has some helpful
suggestions too.Date: Thu, 15 Dec 2005 01:07:36 -0500 (EST)
From: Stephen Joyce stephen@physics.unc.edu
To: Oliver Hookins oliver.hookins@anchor.com.au
Subject: Re: [Rt-devel] Multi-instance patch
Oliver,
I’m running both instances on the same virtual host, but I don’t see any
reason it shouldn’t work in differing hosts via redirection (but I do think
the lines below must not appear inside a spec.
Your problem may be that RT_INSTANCE_PATH needs to point to a full
instance. So, for me, when I set RT_INSTANCE_PATH=/var/rt3_purchasing the
config that gets used is /var/rt3_purchasing/etc/RT_SiteConfig.pm. Notice
that RT fills in the “/etc/” part of the path automatically.
$ ls /var/rt3_purchasing/
etc lib local var
$ ls /var/rt3_purchasing/etc
RT_Config.pm RT_SiteConfig.pm
The other difference I see is the absence of a trailing / in my
RT_INSTANCE_PATH specifications; not sure if that’s significant or not…
Here are the relevant lines of my httpd.conf (b/c I’m sure word-wrap will
screw them up, there are 8 lines total):
FastCgiServer /usr/rt3/rt3-3.4-compat/rt3/bin/mason_handler_purchasing.fcgi
-initial-env RT_INSTANCE_PATH=/var/rt3_purchasing
ScriptAlias /purchasing
/usr/rt3/rt3-3.4-compat/rt3/bin/mason_handler_purchasing.fcgi
FastCgiServer /usr/rt3/rt3-3.4-compat/rt3/bin/mason_handler_panic.fcgi
-initial-env RT_INSTANCE_PATH=/var/rt3_panic
ScriptAlias /panic
/usr/rt3/rt3-3.4-compat/rt3/bin/mason_handler_panic.fcgi
Other than those minor differences, it looks like your setup should work.
If not, are you sure the patch applied cleanly? Is anything being logged
(either in messages or in the apache logs) that looks suspicious (perl
errors, permission problems, etc)?
Best, Stephen
Stephen Joyce
Systems Administrator P A N I C
Physics & Astronomy Department Physics & Astronomy
University of North Carolina at Chapel Hill Network Infrastructure
voice: (919) 962-7214 and Computing
fax: (919) 962-0480 http://www.panic.unc.edu
MacOS X: Because making Unix user friendly was easier than debugging Windows.