On 26/02/12 17:49, Andrea Aime wrote:
> Hi,
> GeoServer web.xml contains a filter whose purpose in life is to change the
> html returned by GeoServer to respect the "proxy base url".
> However tests show it conflicts with the gzipping filter and besides, as far
> as I know the current GUI generates only relative URLs, meaning the
> filter is not really needed (see http://jira.codehaus.org/browse/GEOS-4756)
> Shall we just remove it? It seems its presence today serves no actual purpose.
> Cheers
> Andrea
Andrea, does this only affect the user interface or other HTML or XML?
The reverse proxy base URL is used in app-schema deployments to rewrite
absolute URLs (see below).
Kind regards,
Ben.
-------- Original Message --------
Subject: RE: [Geoserver-devel] Shall we remove the reverse proxy filter?
Date: Mon, 27 Feb 2012 11:38:13 +0800
From: Alistair Ritchie
To: Caradoc-Davies, Ben
Hi Ben,
Yes, all DPI/ERDD WxS instances are deployed behind a reverse proxy.
- geology.data.vic.gov.au/services <--> secret-server:8080
This is all a bit rushed and from memory ...
The issue isn't so much with the Geoserver GUI (not exposed
externally/of little use with app-schema ... for now) ...
Setting the proxyBaseURL is vital to ensuring valid URLs are provided in
responses to various WxS requests.
You're right the DescribeFeatureType is one, for example when a
DescribeFeatureType is used as the schemaLocation in place of the
canonical schema location.
I'm pretty sure it was also need for resource locations in
GetCapabilities responses. Check out the ows:Operation/* elements in
this response.
http://geology.data.vic.gov.au/services/earthresourceml/wfs?service=WFS&version=1.1.0&request=GetCapabilities
If memory serves, all of these would be innaccesible to any external
client: http://secret-server:8080/earthresourceml/wfs.
Pretty sure a similar thing applies for WMS.
Removing it would be a Bad Thing.
Cheers,
Alistair
-----Original Message-----
From: Ben Caradoc-Davies
Sent: Monday, 27 February 2012 16:16
To: Alistair Ritchie
Subject: Fwd: [Geoserver-devel] Shall we remove the reverse proxy filter?
Alistair,
I have a vague recollection that the reverse proxy filter is necessary
for correct functioning of app-schema behind a proxy, as in DPI Vic?
Does this affect HTML such as DescribeFeatureType responses?
Kind regards,
Ben.
-------- Original Message --------
Subject: [Geoserver-devel] Shall we remove the reverse proxy filter?
Date: Sun, 26 Feb 2012 17:49:02 +0800
From: Andrea Aime <[email protected]>
To: Geoserver-devel <[email protected]>
[Andrea's original message]
--
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel