Community
Participate
Working Groups
I would like to be able to configure the URI that is used to expose hosted repository artifacts, as, in some cases, the host machine is not accessible via its hostname. See details in the following post entry : http://www.eclipse.org/forums/index.php?t=msg&goto=644812&S=7f2a15d6f7092e03e5e70bdb447f7a66#msg_644812
This is also true for the port. The general bughere seems to be "hosted repository is not proxy aware", because if Virgo runs behind a proxy, both host name and port used for generating the artifact index URLs should be configurable. The port is determined in StandardRepositoryManager.determineHttpPort() by reading all Gemini connectors. But those are not proxy aware, they just return the internal connector port, too. The ideal solution for Virgo may be to honour the relevant Tomcat proxyName and proxyPort connector settings (http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html).