Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reverse proxy problem

Status
Not open for further replies.

ralftorsten

IS-IT--Management
Dec 6, 2006
6
LU
Hello,
I am setting up a reverse proxy in front of an application (Atlassian Jira). I intentionally only want to use Apache to do the job and not modify Jira's configuration to work correctly behind a proxy.
So I have a configuration like this:

ProxyRequests Off
ProxyPreserveHost on

ProxyPass /ccms/ ProxyPassReverse /ccms/

<Location /ccms/>
Order allow,deny
Allow from all
SetOutputFilter proxy-html
ProxyHTMLURLMap / /ccms/
# ProxyHTMLURLMap /ccms /ccms
RequestHeader unset Accept-Encoding
</Location>


This thing works basically, but I have funny phenomenon:

Some links, although correctly modified by mod_proxy_html (i.e. when moving the mouse over the link it is correctly displayed in the browser status bar), don't work and result in a reference to the wrong path (as if it was not modified). The funny thing is however: if I choose "Open link in new window", then it works...

I know for sure it is a reverse proxy issue, or better, that it can be resolved purely at that level, I just don't know how... :-(

Thanks in advance for some hints! :)

Ralf
 
I use the following to proxy my OWA.

ProxyPass /owa ProxyPassReverse /owa
I noticed you had your reverse statement reversed.

There is more to my config but this is what I noticed on yours.

I also added a rewrite rule:
#OWA % character in email subject fix
RewriteEngine On
RewriteMap percentsubject int:escape
RewriteCond $1 ^/exchange/.*\%.*$
RewriteRule (/exchange/.*) ${percentsubject:$1} [P]

But that had to do with % sign in a subject line of an email.




Gb0mb

........99.9% User Error........
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top