Web Problem


#1

Hello,

I have installed rt and seem to have everything
working, but I am having problems with the
web portion.

Everytime you click on a portion of the web based interface,
the you get the following:

http://helpdesk.myweb.com/cgi/webrt.cgi/cgi/webrt.cgi/cgi/webrt.cgi/cgi/webr
t.cgi?

The line gets longer as you keep on selecting items. If you try to look
at a ticket and then modify a ticket, For some reason you get stuck
and it won’t let you click on the Display Queue anymore. It can’t find
the path.

Any Ideas? The way I installed the web interface was to
add the Script Alias & Alias in my httpd.conf file as per
the install instructions, and then I put a link in my main
web browser document location to the install location
of rt: example:

cd /home/myweb
ln -s /home/rt/bin/cgi cgi
ln -s /home/rt/lib/images webrt

This allowed the everything to work except I get the error above.

I am running this on a Cobalt Linux Server.

Thanks…James


#2

cd /home/myweb
ln -s /home/rt/bin/cgi cgi
ln -s /home/rt/lib/images webrt

I have ScriptAlias /rt/ “/var/rt/bin/cgi/” in my httpd.conf
so that means you should be doing this instead?
ln -s /home/rt/bin/cgi rt

and of course FollowSymLinks should be turned on.

–clark


#3

Clark,

When I do this, I get cgi-wrapper can’t find
script error.

[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Clark ShishidoSent: Thursday, August 17, 2000 6:15 PM
To: James Wade
Cc: 'rt-users@lists.fsck.com’
Subject: Re: [rt-users] Web Problem
Howdy Clark,

Thanks for the information. I had tried this
but it did not fix the problem, but your
answer lead me in the right direction.

The problem was that in my httpd.conf file
I had the following set:

AddHandler cgi-wrapper .cgi

It would not work with webrt.cgi or
admin-webrt.cgi. The error that would
come up was “cgi-wrapper can’t find script”.

What I did to fix it was to add this to
my httpd.conf:

<Location /rt>
SetHandler cgi-script

Now everything works fine. Does rt
not work with the cgi-wrapper program
or do I have an out-of-date cgi-wrapper?

Thanks…James

cd /home/myweb
ln -s /home/rt/bin/cgi cgi
ln -s /home/rt/lib/images webrt

I have ScriptAlias /rt/ “/var/rt/bin/cgi/” in my httpd.conf
so that means you should be doing this instead?
ln -s /home/rt/bin/cgi rt

and of course FollowSymLinks should be turned on.

–clark

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