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

Thomas Sibley trs at bestpractical.com
Tue Feb 15 15:10:19 EST 2011


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