[Geoserver-devel] reverse proxy filter

Hi All,

as per <http://jira.codehaus.org/browse/GEOS-1918&gt;, I've added a servlet
filter in geoserver that's able to perform URL translation on HTML/js/css
content when the UI needs to be exposed through a proxy server.

The filter is disabled by default, and can be enabled by setting the enabled
init parameter to true in web.xml.

This solves the regression for the simple case where the UI code was setting
the proxified URL explicitly, and also allows for more complex mappings
between the proxy base URL than changing protocol://host:port

A complete set of unit tests are also included, covering all the situations
I've found while configuring a geoserver to be accessed through proxy
server.

More details in the issue and the related issue.

Cheers,

Gabriel