Charlie Garrison writes: > Good afternoon, G'day.
> On 18/8/06 at 3:03 PM +0930, Michael Brader <[EMAIL PROTECTED]> wrote: > > >We have RT set up behind a proxy ie. > > > ><VirtualHost *:80> > > ServerName rt.youramigo.com > > ... > > ProxyPass / http://rtdb.bc.youramigo.com:8078/ > ></VirtualHost> > > We have a similar setup (except we're using mod_rewrite to setup > the frontend proxy) and I'm encountering the same problem. > > >I'm sending the patch in case it's useful for anyone else running RT > >in this manner. Just set $UseCanonicalRedirect to 1 in > >etc/RT_SiteConfig.pm > > Should I apply this patch to solve the problem, or is there some > other 'official' method to solve it? The official method which was pointed out after I sent in my patch is to use ProxyPassReverse as follows: ProxyPass / http://rtdb.bc.youramigo.com:8078/ ProxyPassReverse / http://rtdb.bc.youramigo.com:8078/ See one of: http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#proxypassreverse http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse depending on your version of Apache. I don't know how to do ProxyPassReverse with mod_rewrite, so you might want to use my patch. > And Michael, thanks for making the patch available. No worries. -- Michael Brader [EMAIL PROTECTED] _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
