[rt-users] Making New RT Install accessible from example.com/rt when example.com/ hosts another website

Mark Lewis markl at intellifuel.com
Tue Feb 15 15:16:10 EST 2011


Thank you, Thomas. I now get a login page.

I believe it's all working now, thanks everyone for the help.



-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Thomas Sibley
Sent: Tuesday, February 15, 2011 3:10 PM
To: RT Users
Subject: Re: [rt-users] Making New RT Install accessible from example.com/rt when example.com/ hosts another website

On 15 Feb 2011 14:38, Mark Lewis wrote:
> I removed all the virtual host crap, and added:
> 
> ------------------------------------------------
> <Directory "/var/www/htdocs/base/bin/rt">
>         Options FollowSymLinks
>         AllowOverride None
> </Directory>
> 
> ScriptAlias /rt /var/www/htdocs/base/bin/rt
> ------------------------------------------------
> 
> So, now its 403'ing. I will continue to tinker but if you see something noticeably off here, your input is MUCH appreciated!!

RT's web handler is not the install directory.

You want to remove what you added above and replace it with:

   # as RT is out of document root then we want alias
   # and should define directory access
   Alias /rt/ /opt/rt3/share/html/
   <Directory /opt/rt3/share/html/>
       Order allow,deny
       Allow from all
   </Directory>

   PerlRequire /opt/rt3/bin/webmux.pl
   <Location /rt/>
       AddDefaultCharset UTF-8
       SetHandler perl-script
       PerlHandler RT::Mason
   </Location>

Adjust paths accordingly for your install (i.e. /opt/rt3/ should be
replaced by /var/www/htdocs/base/bin/rt/).

Thomas


More information about the rt-users mailing list