Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332508

Summary: Add ability to configure the URI for hosted repository and artifacts
Product: [RT] Virgo Reporter: Lorie Pisicchio <lorie.pisicchio>
Component: runtimeAssignee: Project Inbox <virgo-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: glyn.normington, heribert.hirth
Version: 2.1.0.RELEASE   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Lorie Pisicchio CLA 2010-12-14 05:24:47 EST
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
Comment 1 heribert.hirth CLA 2010-12-14 10:47:03 EST
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).