Generated KML does not respect PROXY_BASE_URL
---------------------------------------------

                 Key: GEOS-4624
                 URL: http://jira.codehaus.org/browse/GEOS-4624
             Project: GeoServer
          Issue Type: Bug
          Components: Google Earth KML Output
    Affects Versions: 2.1.0
         Environment: Geoserver running on a local network, behind a proxy host.
PROXY_BASE_URL is set on Geoserver
Apache Proxy rules are set at the proxy host.

            Reporter: Jorge Gustavo Rocha
            Assignee: Andrea Aime
            Priority: Minor


The URLs returned by GetCapabilities are ok, ie are generated using the 
PROXY_BASE_URL
GetMap is working ok.
The only thing not working ok is the generated KML documents. Instead of using 
the PROXY_BASE_URL value, it is using the local IP.

Example of returned document:
(...)
         <visibility>1</visibility>
         <Url>
            
<href><![CDATA[http://192.254.254.3:8080/geoserver/wms?height=1024&width=1024&layers=a&request=GetMap&service=wms&styles=a&format_options=SUPEROVERLAY:false;KMPLACEMARK:false;KMSCORE:40;KMATTR:true;&srs=EPSG:4326&format=application/vnd.google-earth.kmz&transparent=false&version=1.1.1]]></href>
(...)

The local URL http://192.254.254.3:8080/ should be replaced by 
PROXY_BASE_URL/geoserver/wms/

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to