[GeoNetwork-devel] Setting the /root/gui/url, two instances behind a reverseproxy

Hi list,

For a project, we're running 2 Geonetwork instances (and Intermap, Geoserver) on 2 (Jetty) servers. Because both environments need to be accessible on port 80, I'd like to configure Apache (on port 80) in such a way that both Jetty servers are accessible. So something like this:

http://servername:80/test/geonetwork --> pointing to Jetty nr 1, e.g. http://servername:8080/geonetwork
http://servername:80/development/geonetwork --> pointing to Jetty nr 2, e.g. http://servername:8081/geonetwork

I'm doing this using a reverseproxy in ApacheĀ“s config. As far as I can tell, Apache does it's job very well. But Geonetwork seems to assume that the applications are running in the server's root. In the HTML (well, XSL) url's are coded using the /root/gui/url parameter. In the HTML, (java)scripts, css etc are loaded from the root of the server, e.g. http://servername/geonetwork, where I'd like to have it from http://servername/test/geonetwork

This /root/gui/url points to a servername (and optionally a port). Is there an elegant way to set this to something like http://servername/test/ ?

I've tried to set it in the server settings, but just a servername and port are allowed there.

Regards,
Thijs