[
http://jira.codehaus.org/browse/MRM-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maria Odea Ching updated MRM-1268:
----------------------------------
Fix Version/s: (was: 1.2.3)
1.3
> X-Forwarded-Host handling when having more than one proxy
> ---------------------------------------------------------
>
> Key: MRM-1268
> URL: http://jira.codehaus.org/browse/MRM-1268
> Project: Archiva
> Issue Type: Bug
> Components: web application
> Affects Versions: 1.2.2
> Environment: Linux Centos 5.3, 64-bit, JRE 1.6.0_07
> Reporter: Andreas Baumann
> Priority: Minor
> Fix For: 1.3
>
> Attachments: ContextUtils.java
>
>
> When requesting pages over more than one proxy, I see in the
> "Administration"/"Repositories" view:
> WebDAV URL https://proxy1.xxx.com, proxy2.xx.com/archiva/repository/internal/
> Both proxies run apache mod_proxy (http).
> Taking just the outermost proxy in the 'X-Forwarded-Host' HTTP field (first
> one) in
> 'archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ContextUtils.java
> solved the problem for me (see attached changed ContextUtils.java).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira