[Geoserver-devel] Shall we remove the reverse proxy filter?

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

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf


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 <andrea.aime@anonymised.com>
To: Geoserver-devel <geoserver-devel@lists.sourceforge.net>

[Andrea's original message]

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
<Ben.Caradoc-Davies@anonymised.com> wrote:

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

The proxy base url is applied internally by URLMangler, the only residual need
for the reverse proxy filter was rewriting the HTML as far as I know

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

+1 on removal if not needed.

On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
Ben.Caradoc-Davies@anonymised.com wrote:

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

The proxy base url is applied internally by URLMangler, the only residual need
for the reverse proxy filter was rewriting the HTML as far as I know

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf



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
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Hi Justin/Andrea/Ben,

Happy to say the I have just tested the geoserver-2.1.x-2012-02-26-war
with our Apache2
(using mod_proxy and a reverse proxy) and works OK with:

* Geoserver ReverseProxyFilter=false
* Setting a Proxy Base URL thru. GUI
* Geoserver gzip compression switched on

I no longer see the double gzipping issue I reported in
http://jira.codehaus.org/browse/GEOS-4756.
URL's were correctly translated
from the internal URL (behind proxy) to external OK (outside proxy) in
both html pages
via layer the layer preview and XML outputs from GetCapabilities and WFS-GML.

So as I understand it now all the URL translation all done with the 'URLMangler'
working with the Proxy Base URL.

So yes, I guess, eventually you could remove the Reverse Proxy Filter
provided there are no uses for it now.

Andrew

On 2/28/12, Justin Deoliveira <jdeolive@anonymised.com> wrote:

+1 on removal if not needed.

On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime
<andrea.aime@anonymised.com>wrote:

On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
<Ben.Caradoc-Davies@anonymised.com> wrote:
> 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).

The proxy base url is applied internally by URLMangler, the only residual
need
for the reverse proxy filter was rewriting the HTML as far as I know

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

+1 provided assessment of it’s un-usability is complete.
Cheers,
Gabriel

On Mon, Feb 27, 2012 at 1:32 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

+1 on removal if not needed.

On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
Ben.Caradoc-Davies@anonymised.com wrote:

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

The proxy base url is applied internally by URLMangler, the only residual need
for the reverse proxy filter was rewriting the HTML as far as I know

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf



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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


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
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Andrea,

I was interested to see which java programs were changed/added
to now handle the URL translation in absence of using ReverseProxyFilter.java.
Could you describe the new approach and where could I look at the
changed modules?

I did try:

http://svn.codehaus.org/geoserver/branches/2.1.x/src/main/src/main/java/org/geoserver/filters

but that code looks the same as version 2.1.1

Thanks,

Andrew

On 2/29/12, Gabriel Roldan <groldan@anonymised.com> wrote:

+1 provided assessment of it's un-usability is complete.
Cheers,
Gabriel

On Mon, Feb 27, 2012 at 1:32 PM, Justin Deoliveira
<jdeolive@anonymised.com>wrote:

+1 on removal if not needed.

On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime <
andrea.aime@anonymised.com> wrote:

On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
<Ben.Caradoc-Davies@anonymised.com> wrote:
> 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).

The proxy base url is applied internally by URLMangler, the only residual
need
for the reverse proxy filter was rewriting the HTML as far as I know

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

On Wed, Feb 29, 2012 at 1:33 AM, Andrew Walsh <walsh65@anonymised.com> wrote:

Hi Andrea,

I was interested to see which java programs were changed/added
to now handle the URL translation in absence of using ReverseProxyFilter.java.
Could you describe the new approach and where could I look at the
changed modules?

I did try:

http://svn.codehaus.org/geoserver/branches/2.1.x/src/main/src/main/java/org/geoserver/filters

but that code looks the same as version 2.1.1

Nothing changed actually, the GUI has been using relative paths only
since 2.0.0,
with just one exception, the openlayers preview, which has been fixed recently.
I guess that was the last reason why the proxy code was actually needed.

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

On Tue, Feb 28, 2012 at 9:33 PM, Andrew Walsh <walsh65@anonymised.com…> wrote:

Hi Andrea,

I was interested to see which java programs were changed/added
to now handle the URL translation in absence of using ReverseProxyFilter.java.
Could you describe the new approach and where could I look at the
changed modules?

To answer your question, there are two things that need(ed) translation: html content (including generated links inside javascript and css imports), and OWS XML responses (like in for schema locations).
The former was always taken care of by the reverse proxy filter, the later was never taken care of by the reverse proxy filter, since running the whole xml response through the filter might be overkill (think of a large GetFeature response), and hence those xml elements were always directly written in code using the proxy base url. The URL mangler was added later for greater flexibility but the design didn’t change since GeoServer 1.x.

Cheers,
Gabriel

I did try:

http://svn.codehaus.org/geoserver/branches/2.1.x/src/main/src/main/java/org/geoserver/filters

but that code looks the same as version 2.1.1

Thanks,

Andrew

On 2/29/12, Gabriel Roldan <groldan@anonymised.com> wrote:

+1 provided assessment of it’s un-usability is complete.
Cheers,
Gabriel

On Mon, Feb 27, 2012 at 1:32 PM, Justin Deoliveira
<jdeolive@anonymised.com>wrote:

+1 on removal if not needed.

On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime <
andrea.aime@anonymised.com> wrote:

On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
Ben.Caradoc-Davies@anonymised.com wrote:

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

The proxy base url is applied internally by URLMangler, the only residual
need
for the reverse proxy filter was rewriting the HTML as far as I know

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf



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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Gabriel and Andrea,

Thank you for your explanations. As I understand this now all the translation
for both html and OWS XML responses are done by the URL Mangler working with the
Proxy Base URL setting.

I also note that Andrea made changes on 7 Feb 2012
to OpenLayersMapOutputFormat.java to fix issue GEOS-4930 ("Map preview
always points
to localhost") so that the ProxyBaseURL was taken into account for
Open Layers map preview
html output.

So I will study OpenLayersMapOutputFormat.java and URL Mangler code
to satisfy myself.

I will be good to not use the ReverseProxyFilter, it gave me a lot of headache
and hours checking/testing bugs last time around when I installed 2.1.1 !

Regards,

Andrew

On 3/1/12, Gabriel Roldan <groldan@anonymised.com> wrote:

On Tue, Feb 28, 2012 at 9:33 PM, Andrew Walsh <walsh65@anonymised.com> wrote:

Hi Andrea,

I was interested to see which java programs were changed/added
to now handle the URL translation in absence of using
ReverseProxyFilter.java.
Could you describe the new approach and where could I look at the
changed modules?

To answer your question, there are two things that need(ed) translation:
html content (including generated links inside javascript and css imports),
and OWS XML responses (like in for schema locations).
The former was always taken care of by the reverse proxy filter, the later
was _never_ taken care of by the reverse proxy filter, since running the
whole xml response through the filter might be overkill (think of a large
GetFeature response), and hence those xml elements were always directly
written in code using the proxy base url. The URL mangler was added later
for greater flexibility but the design didn't change since GeoServer 1.x.

Cheers,
Gabriel

I did try:

http://svn.codehaus.org/geoserver/branches/2.1.x/src/main/src/main/java/org/geoserver/filters

but that code looks the same as version 2.1.1

Thanks,

Andrew

On 2/29/12, Gabriel Roldan <groldan@anonymised.com> wrote:
> +1 provided assessment of it's un-usability is complete.
> Cheers,
> Gabriel
>
> On Mon, Feb 27, 2012 at 1:32 PM, Justin Deoliveira
> <jdeolive@anonymised.com>wrote:
>
>> +1 on removal if not needed.
>>
>>
>> On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime <
>> andrea.aime@anonymised.com> wrote:
>>
>>> On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
>>> <Ben.Caradoc-Davies@anonymised.com> wrote:
>>> > 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).
>>>
>>> The proxy base url is applied internally by URLMangler, the only
residual
>>> need
>>> for the reverse proxy filter was rewriting the HTML as far as I know
>>>
>>> Cheers
>>> Andrea
>>>
>>> --
>>> -------------------------------------------------------
>>> Ing. Andrea Aime
>>> GeoSolutions S.A.S.
>>> Tech lead
>>>
>>> Via Poggio alle Viti 1187
>>> 55054 Massarosa (LU)
>>> Italy
>>>
>>> phone: +39 0584 962313
>>> fax: +39 0584 962313
>>> mob: +39 339 8844549
>>>
>>> http://www.geo-solutions.it
>>> http://geo-solutions.blogspot.com/
>>> http://www.youtube.com/user/GeoSolutionsIT
>>> http://www.linkedin.com/in/andreaaime
>>> http://twitter.com/geowolf
>>>
>>> -------------------------------------------------------
>>>
>>>
>>>
------------------------------------------------------------------------------
>>> 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
>>> Geoserver-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>>
>>
>>
>>
>> --
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>>
>>
>>
>>
------------------------------------------------------------------------------
>> 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
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>
>
> --
> Gabriel Roldan
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.