On Mon, Jan 14, 2013 at 10:54 AM, Andrea Aime
<[email protected]>wrote:

> On Mon, Jan 14, 2013 at 10:46 AM, Christian Mueller <[email protected]>wrote:
>
>> Should we rely on this fact ?. Or is it better to give the optional
>> possibility to configure the external geoserver url up to the context root
>> ( https://*my.geoserver.org/*goeserver)  and the filter calculates the
>> full external URL itself.
>>
>
> We already have the configuration of the external URL, it's called "Proxy
> base URL".
> Every URL generated by GeoServer for client consumption must be processed
> via URLManglers, which happens when calling:
>
> ResponseUtils.buildURL(String baseURL, String path, Map<String, String>
> kvp, URLType type)
>
> Failure to call the above method when creating a URL that a client will
> get back
> from GeoServer is a bug
>

Forgot to add, one of the URL manglers is responsible for applying the
"proxy base url"

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to