ralftorsten
IS-IT--Management
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!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Ralf
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