New install rt-mailgate problem

FreeBSD_8 RT 387 at a glance works fine,
BUT
rt-mailgate fails with the likes of:-
[Tue Apr 13 17:29:13 2010] [error] [client 192.168.56.202] File does not exist: /usr/local/www/apache22/data/REST

But my RT is at /usr/local/Rt/rt-3.8.7/share/html

My vhost uses ports 8001:-

<VirtualHost 192.168.56.202:8001>
ServerName rt.f8.com
DocumentRoot /usr/local/Rt/rt-3.8.7/share/html
AddDefaultCharset UTF-8
ErrorLog “/var/log/httpd_rt_err.log”
CustomLog “/var/log/httpd_rt_cus.log” common
PerlRequire “/usr/local/Rt/rt-3.8.7/bin/webmux.pl”
<Directory /NoAuth/images>
SetHandler default
Order Deny,Allow
Allow from all


SetHandler perl-script
PerlResponseHandler RT::Mason
Options +ExecCGI +FollowSymLinks
AllowOverride None
Order Deny,Allow
Allow from all

Cannot figure out how to get mailgate, and maybe the other tools, to use DocumentRoot.
Any suggestions pls?

.

Ian Pellew пишет:

FreeBSD_8 RT 387 at a glance works fine,
BUT
rt-mailgate fails with the likes of:-
[Tue Apr 13 17:29:13 2010] [error] [client 192.168.56.202] File does not exist: /usr/local/www/apache22/data/REST

But my RT is at /usr/local/Rt/rt-3.8.7/share/html

My vhost uses ports 8001:-

Cannot figure out how to get mailgate, and maybe the other tools, to use DocumentRoot.
Any suggestions pls?

It seems you haven’t set port when you call rt-mailgate. In your case it should
be similar to:

| //usr/local/Rt/rt-3.8.7/bin/rt-mailgate --queue General --action correspond
–url https://rt.host.com:8001/

Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

PortaOne Booth 812 @ ITW 2010
International Telecommunication Week
Marriott Wardman Park Hotel
Washington, DC - May 24-26

You’re welcome!

BTW, please add

to correspondence to let other subscribers know the results/flow.

Ian Pellew wrote:

Thanks Agnislav
Just the nudge I needed.
I get in these loops where nothing works out of stupidity.

It seems you haven’t set port when you call rt-mailgate. In your case it should be similar to:

| //usr/local/Rt/rt-3.8.7/bin/rt-mailgate --queue General --action correspond --url >https://rt.host.com:8001/

Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

PortaOne Booth 812 @ ITW 2010
International Telecommunication Week
Marriott Wardman Park Hotel
Washington, DC - May 24-26