[rt-users] Problem accessing RT located behind an apache proxy

Schincke, Keith D. (JSC-IT)[MEI] Keith.D.Schincke at nasa.gov
Sun Oct 28 11:32:41 EDT 2007


Hey Guys,

I am having issues accessing parts of my RT installation while it is located behind an apache proxy.

My configuration is:
  RT is installed on a server on a private network.
  Apache is installed on a server on the public network that will proxy with mod_rewrite access to the RT server.

This configuration works great for most parts of the RT system. Tickets can be looked at. Users can be added. 
The problem occurs when a ticket or user is updated.

When a ticket is updated, Update.html is called, the ticket is update and the browser is redirected to Display.html.

The redirect is what is causing my problems. The application is tries to send the browser to the private IP address to load Display.html. 

Here is my configuration:
Front end apache server:
Centos 4.5
httpd 2.0.52

Here are the rewrite rules:
<VirtualHost *:80>
   RewriteEngine on
   RewriteLog /var/log/httpd/rewrite.log
   RewriteLogLevel 2
   RewriteRule ^/$ http://10.0.0.1/rt [P,L]
   RewriteRule ^/(.*)$ http://10.0.0.1/$1 [P,L]
   ProxyPass / http://rt.example.com/
   ProxyPassReverse / http://rt.example.com/
</VirtualHost>


Backend server:
Debian etch
Aapche 2
RT 3.6

My $WebBaseURL is http://rt.example.com

Any suggestions on what may be causing the rewrite to not work correctly?

Thanks for any help,

Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20071028/470bd3c9/attachment.htm>


More information about the rt-users mailing list