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 <[email protected]> wrote:
> +1 on removal if not needed.
>
> On Mon, Feb 27, 2012 at 12:19 AM, Andrea Aime
> <[email protected]>wrote:
>
>> On Mon, Feb 27, 2012 at 5:12 AM, Ben Caradoc-Davies
>> <[email protected]> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to