Re : 405 method not allowed when testing rt-mailgate - addendum

Guys,

One of my colleagues has just pointed out an interesting possibility

: that I am shooting myself in the foot by maintaining rt2 and rt3 on
the same machine :

[root@cq-pan rt2]# find . -name Email.pm
./lib/RT/Interface/Email.pm
[root@cq-pan rt2]# cd …/rt3
[root@cq-pan rt3]# find . -name Email.pm
./lib/RT/Interface/Email.pm

 I know that I cant have 'webmux.pl' configured for both in the

Apache config, but I didn’t realise that having two sets of code would
cause major problems.

 As everything works fine on the devel box (only rt3 installed

here), I think he may be onto something. I’ll dump the contents of @INC
when I next run my tests and let you know.

Cheers,

Artie-----Original Message-----
From: Arthur Watts
Sent: Sunday, 15 June 2003 11:02
To: 'rt-users@lists.fsck.com’
Subject: 405 method not allowed when testing rt-mailgate - addendum

Apologies for the earlier stuffup - my url had two slashes in it.
Removing one still hasn’t fixed my problem, but I did discover something
interesting by messing around with my browser.

I am able to create tickets by manually invoking rt-mailgate like so
at the URL :

xttp://xxx.xxxx.xxxx/rt3/REST/1.0/NoAuth/mail-gateway?message=Another%20
test&queue=general&action=correspond

Clearly, the problem is neither with the URI nor anything on the other
side of the Mason ‘mail-gateway’ stuff. As I said before, it almost
certainly something I’ve overlooked in the config, but I need to get
this simple script working before I can go any further.

Artie

Arthur Watts (a.watts@cqu.edu.au)

Web Developer

Faculty of Informatics and Communication | Central Queensland University
| Rockhampton, Australia

You can have rt2 and rt3 on the same machine. They coexist quite
happily.

The catch is that you can only have one RT instance per mod_perl
instance. So, you either need to run RT2 and RT3 in seperate
apache/mod_perl’s, or have one be mod_perl and another FastCGI, etc.

-R

At Mon, 16 Jun 2003 10:25:19 +1000,
Arthur Watts wrote: