[Geoserver-devel] [jira] Created: (GEOS-2576) strut labels and links on admin interface (welcome.do, demo.do and so on) point to /geoserver/ even when geoserver virtual dir is different

strut labels and links on admin interface (welcome.do, demo.do and so on) point to /geoserver/ even when geoserver virtual dir is different
-------------------------------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-2576
                 URL: http://jira.codehaus.org/browse/GEOS-2576
             Project: GeoServer
          Issue Type: Bug
          Components: Struts
    Affects Versions: 1.7.1
         Environment: debian 4.0 rc3, jdk 1.6.0_2, geoserver 1.7.1a
            Reporter: Milo van der Linden
            Assignee: Andrea Aime
             Fix For: 1.7.2

I got two instances of geoserver running on

http://myserver:8080/geoserver/ (1.6.3: production)

and

http://myserver:8082/geoserver/ (1.7.1: test)

In apache I configured proxy and reverse proxy for both:

# local geoserver-1.7.1 (v.1.7.1a)
ProxyPass /geoserver-1.7.1 http://localhost:8082/geoserver
ProxyPassReverse /geoserver-1.7.1 http://localhost:8082/geoserver

# localhost geoserver (v.1.6.3)
ProxyPass /geoserver http://localhost:8080/geoserver
ProxyPassReverse /geoserver http://localhost:8080/geoserver

Now, when I fire the url http://localhost/geoserver-1.7.1/ from the browser, I enter welcome.do

On the welcome.do page; the hyperlinks for:
- My Geoserver
- Contact
- Admin
- Config
- Demo
- Login

reference: http://localhost/geoserver/ instead of http://localhost/geoserver-1.7.1/

- WCS Capabilities
- WFS Capabilities
- WMS Capabilities

point to the right url

Possible solution:

Alter Strut template variables to be dynamic?

--
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