Rt command line tool

Pardon me if this has been asked numerous times before - I searched wiki
and google but can’t resolve this.

I’m running RT 3.4.1 and it’s working great. My problem resides in the
use of the ‘rt’ command line tool.

I’ve got ~/.rtrc configured with a valid user/password but when I try to
run:
‘bin/rt ls “Status !=‘resolved’ and Status !=‘rejected’ AND Owner=‘10’”’

I get: “rt: Server error: Authorization Required (401)”

I’ve tried including RTUSER= RTPASSWD= RTSERVER= on the
command line but had the same results.

Below are the relevant sections of httpd.conf, apache is listening on 8080
and rt is located at http:///rt

What am I missing, why can’t I get bin/rt to connect properly? Thanks in
advance.

Alias /rt "/admin/rt3/share/html"
PerlModule Apache::DBI
PerlRequire /admin/rt3/bin/webmux.pl
<Directory /admin/rt3/share/html>
AllowOverride All
Options ExecCGI FollowSymLinks

Order allow,deny
Allow from all

<Directory /admin/rt3/share/html/REST/1.0/NoAuth>
SetHandler perl-script
PerlHandler RT::Mason
satisfy any
allow from all

<Directory /admin/rt3/share/html/NoAuth>
SetHandler perl-script
PerlHandler RT::Mason
satisfy any
allow from all

<Location /rt>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

Dayton Jones

Hi.

I’m tinkering with the rt tool and am wondering if there’s any
documentation or such other than the in built help files?

Thanks.
Kind regards.

Luke

Hi.

Oops, This should be a new thread.

I’m tinkering with the rt tool and am wondering if there’s any
documentation or such other than the in built help files?

Thanks.
Kind regards.

Luke

> Hi. > > Oops, This should be a new thread. > > I'm tinkering with the rt tool and am wondering if there's any > documentation or such other than the in built help files?

It’s best to buy the “RT Essentials” book, it’s got loads of stuff on it :wink:

We couldn’t find this kind of info anywhere else.

Thanks.

Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E ghenry@suretecsystems.com

Open Source. Open Solutions™.

http://www.suretecsystems.com/