Two small feature requests

Okay, I’ve just done my first ground-up install of a 1.0.0-series RT.
Boy, is that a lot easier than back in the 0.9 days. :slight_smile:

One small thing bugged me during the process of getting things moving:
the division between the “webrt” interface and the “admin-webrt”
interface is a bit arbitrary. Why should a user have to type in a
completely different URL just to change their password, or administer
a queue they have admin rights to?

Seems like a better approach would be to just have an “update my
account” link at the bottom of the queue page, and, if the user is an
RT administrator, present a “manage this queue” link where
appropriate.

Only one small thing is preventing me from implementing this myself…

$rt::ui::web::ScriptURL will spit out the correct url to webrt.cgi,
but there doesn’t seem to be a parallel variable to produce the proper
location of admin-webrt.cgi, and I’m not immediatly seeing the proper
place to look for it.

Pointers?

-n

------------------------------------------------------memory@blank.org
“Television is going to change the world; it’s got everything you need:
sight, sound, motion and stupid white men.” (–Nolanda Hill)
http://www.blank.org/memory/------------------------------------------

interface is a bit arbitrary. Why should a user have to type in a
completely different URL just to change their password, or administer
a queue they have admin rights to?

Oh, and another question. Is there an easy way to make webrt.cgi
automatically appear as an index page? For example, I want to type in
http://localhost/rt/
instead of
http://localhost/rt/webrt.cgi

I’ve tried symlinks, file copying (to index.cgi), etc. and haven’t found
anything to work…it’s not a huge issue, but it’d be nice to do that.

-Sheeri

P.S. Nathan, I see you!

In your access.conf, insert the following
Alias /rt/ “/opt/rt/lib/images/” # /opt/rt/ is your RT installation
directory

<Directory /opt/rt/lib/images">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from localhost
</Directory>

This will allow you to use your URL followed by /rt/

Sheeri wrote:> On Wed, 6 Sep 2000, Nathan J. Mehl wrote:

interface is a bit arbitrary. Why should a user have to type in a
completely different URL just to change their password, or administer
a queue they have admin rights to?

Oh, and another question. Is there an easy way to make webrt.cgi
automatically appear as an index page? For example, I want to type in
http://localhost/rt/
instead of
http://localhost/rt/webrt.cgi

I’ve tried symlinks, file copying (to index.cgi), etc. and haven’t found
anything to work…it’s not a huge issue, but it’d be nice to do that.

-Sheeri

P.S. Nathan, I see you!


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

cseward.vcf (353 Bytes)

Hi

Thats an easy one. Presuming you have access to your webserver config one
simple way is to add a redirect…

so add a redirect

Redirect /rt/index.html http://yoururl/rt/webrt.cgi

and that will take requests for http://yoururl/rt to
http://yoururl/rt/webrt.cgi

You can do it all sorts of other ways adding to the default directory page
an so on, but the above is simple.

Regards

Dan

Technical Manager
UK Solutions, part of CAD
Including UK Shells, UK Colo, UK Raq

Tel: 01527 851 333 - Fax: 01527 851 301
Web: www.uksolutions.co.uk
Email: dan@uksolutions.co.uk----- Original Message -----
From: Sheeri awfief@cs.brandeis.edu
To: Nathan J. Mehl memory@blank.org
Cc: rt-users@fsck.com
Sent: 06 September 2000 20:12
Subject: Re: [rt-users] two small feature requests

On Wed, 6 Sep 2000, Nathan J. Mehl wrote:

interface is a bit arbitrary. Why should a user have to type in a
completely different URL just to change their password, or administer
a queue they have admin rights to?

Oh, and another question. Is there an easy way to make webrt.cgi
automatically appear as an index page? For example, I want to type in
http://localhost/rt/
instead of
http://localhost/rt/webrt.cgi

I’ve tried symlinks, file copying (to index.cgi), etc. and haven’t found
anything to work…it’s not a huge issue, but it’d be nice to do that.

-Sheeri

P.S. Nathan, I see you!


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

So, I’ve been using rt for a while. After seeing Jesse last night, I
decided to open it up and see what tickets I’ve closed and opened, what I
can get rid of, etc.

Anyway, I typed in the correct URL (which happens to be
http://216.254.86.228/rt/webrt.cgi just in case anyone’s curious) and I
got a Not Found error: “The requested URL /rt/webrt.cgi was not found
on this server.” I played around for a while, and found out the
following:

/rt/ is aliases to both of the following:

Alias /rt/ “/opt/rt/lib/images/”
ScriptAlias /rt/ “/opt/rt/bin/cgi/”

When

Alias /rt/ “/opt/rt/lib/images/”

is commented, I can open webrt.cgi using the URL I always use – except
that all the images are broken. harrumph. How come this configuration
isn’t working? It’s worked before, I haven’t touched it (of course). The
only thing I can think of is that I’ve rebooted since the last time I used
rt (which was 12 days ago).

-Sheeri

“S” == Sheeri awfief@phoenix.cs.brandeis.edu writes:
S> /rt/ is aliases to both of the following:
S> Alias /rt/ “/opt/rt/lib/images/” ScriptAlias /rt/
S> “/opt/rt/bin/cgi/”

You haven’t followed the installation instructions.

I believe one of those should be /webrt/

Thanks very much. You were absolutely correct.

(although, it’s very bizarre, because up until today it had been working
fine. I wonder how I changed that file without me knowing.)

-SheeriOn Sun, 8 Oct 2000, Robert Spier wrote:

“S” == Sheeri awfief@phoenix.cs.brandeis.edu writes:
S> /rt/ is aliases to both of the following:
S> Alias /rt/ “/opt/rt/lib/images/” ScriptAlias /rt/
S> “/opt/rt/bin/cgi/”

You haven’t followed the installation instructions.

I believe one of those should be /webrt/