[rt-users] rt command line tool
Dayton Jones
djones at proofpoint.com
Wed Apr 20 12:57:44 EDT 2005
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=<user> RTPASSWD=<pass> RTSERVER=<url> 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://<server>/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
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<Directory /admin/rt3/share/html/REST/1.0/NoAuth>
SetHandler perl-script
PerlHandler RT::Mason
satisfy any
allow from all
</Directory>
<Directory /admin/rt3/share/html/NoAuth>
SetHandler perl-script
PerlHandler RT::Mason
satisfy any
allow from all
</Directory>
<Location /rt>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
--
Dayton Jones
More information about the rt-users
mailing list