[rt-users] Moving RT3 off the web server root

Ryan Conley rconley at equala.com
Wed Nov 5 09:58:46 EST 2003


Barry -

The setup we use here is quite simple.  The server that I run RT on
handles our helpdesk requests as well as other development applications.
To keep RT separate from all the other things on the server, I simply
added the following lines to httpd.conf (along with similar entries for
our monitoring system, SQL admin pages, etc):

Alias /rt "/var/rt3/share/html"

<Directory "/var/rt3">
        PerlModule Apache::DBI
        PerlRequire /var/rt3/bin/webmux.pl
        SetHandler perl-script
        PerlHandler RT::Mason
</Directory>

In my case, RT is installed in /var/rt3 (not the usual /opt/rt3), and
the web interface is available via http://server/rt/.  Replace paths as
necessary for your system.

If you'd rather have RT continue being the "root" of the server, you
could move it to a <VirtualHost> tag and add more Ips to your server.
There are several HOWTOs on that subject - I'll leave that to you and
Google. :-)

--Ryan Conley
rconley at equala.com
System Administrator
The Equala Communications Group
http://www.equala.com

 


-----Original Message-----
From: rt-users-bounces at lists.fsck.com
[mailto:rt-users-bounces at lists.fsck.com] On Behalf Of Jan Algermissen
Sent: Wednesday, November 05, 2003 10:14 AM
To: Barry Roberts
Cc: rt-users at lists.fsck.com
Subject: Re: [rt-users] Moving RT3 off the web server root


Barry Roberts wrote:
> 
> I have no experience with mod_perl or HTML::Mason, but I didn't think
> this would be very hard.  I finally got RT3.0.6 working on RH 9
> (whew!) but I wan't the URL to be /rt so I can do other things on the
> same web server.  Right now RT has taken / over from following the
> install instructions.
> 
> I've been messing around with the httpd.conf, but I can't seem to get
> anything to work.  

Try putting the RT related stuff into a <Directory> section:

<Directory /full/system/path/to/dir/>
SetHandler .... (what's in the example's VirtualHost config
</Dierctory>

Alias /web-dir/ /full/system/path/to/dir/


Then you need to update a variable in the RT configuration to tell
RT to prefix all paths with /web-dir/


If using virtual host, simply change the value of the <Location>
Directive and also update the var in the RT config file.

Note: I have not tried this, I justguess it works.

Hope it helps.

Jan 



> Does anybody have an RT at some other url
> (sub-directory-like) that could let me have a peek at their httpd.conf
> and/or whatever other config files you had to modify?
> 
> TIA,
> Barry Roberts
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

-- 
Jan Algermissen                           http://www.topicmapping.com
Consultant & Programmer	                  http://www.gooseworks.org
_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list