<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Problem accessing RT located behind an apache proxy</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Hey Guys,<BR>
<BR>
I am having issues accessing parts of my RT installation while it is located behind an apache proxy.<BR>
<BR>
My configuration is:<BR>
RT is installed on a server on a private network.<BR>
Apache is installed on a server on the public network that will proxy with mod_rewrite access to the RT server.<BR>
<BR>
This configuration works great for most parts of the RT system. Tickets can be looked at. Users can be added.<BR>
The problem occurs when a ticket or user is updated.<BR>
<BR>
When a ticket is updated, Update.html is called, the ticket is update and the browser is redirected to Display.html.<BR>
<BR>
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.<BR>
<BR>
Here is my configuration:<BR>
Front end apache server:<BR>
Centos 4.5<BR>
httpd 2.0.52<BR>
<BR>
Here are the rewrite rules:<BR>
<VirtualHost *:80><BR>
RewriteEngine on<BR>
RewriteLog /var/log/httpd/rewrite.log<BR>
RewriteLogLevel 2<BR>
RewriteRule ^/$ <A HREF="http://10.0.0.1/rt">http://10.0.0.1/rt</A> [P,L]<BR>
RewriteRule ^/(.*)$ <A HREF="http://10.0.0.1/$1">http://10.0.0.1/$1</A> [P,L]<BR>
ProxyPass / <A HREF="http://rt.example.com/">http://rt.example.com/</A><BR>
ProxyPassReverse / <A HREF="http://rt.example.com/">http://rt.example.com/</A><BR>
</VirtualHost><BR>
<BR>
<BR>
Backend server:<BR>
Debian etch<BR>
Aapche 2<BR>
RT 3.6<BR>
<BR>
My $WebBaseURL is <A HREF="http://rt.example.com">http://rt.example.com</A><BR>
<BR>
Any suggestions on what may be causing the rewrite to not work correctly?<BR>
<BR>
Thanks for any help,<BR>
<BR>
Keith</FONT>
</P>
</BODY>
</HTML>