[MapProxy] onlineresource url issue in getcapabilities response

Sandor Csaba sandor.csaba at viamap.hu
Thu Dec 15 03:07:12 EST 2011


Thank you for your help the header information was not added to the
mod_proxy configuration.

BTW we recently turned to use mod_proxy in apache and paster as
server, from mod_wsgi that appeared to be very unreliable and made
apache leaking memory and caused daily lockups.

Regards,

Csaba

2011/12/9 Oliver Tonnhofer <olt at omniscale.de>:
>
> On 09.12.2011, at 15:41, Sandor Csaba wrote:
>> I'm setting this in my config as wms metadata (mapproxy 1.2.1):
>>     md:
>>       # metadata used in capabilities documents
>>       title: tajertektar.hu wms service
>>       abstract: This is the fantastic MapProxy.
>>       online_resource: http://www.tajertektar.hu/mp
>
> This is just for the WMS metadata and should point to some website with information about the service.
>
>> If I request getcapabilities:
>> http://tajertektar.hu/mp/service?request=getcapabilities
>>
>> I get wrong urls in the onlineresource tag of the wms requests like this:
> [...]
>>     <GetCapabilities>
>>       <Format>application/vnd.ogc.wms_xml</Format>
>>       <DCPType>
>>         <HTTP>
>>           <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://tajertektar.hu/service?"/></Get>
>
> These OnlineResource entries are automatically generated and should match the URL you're using to access the capabilities. You need to tweak you deployment setup, if they are wrong. See http://mapproxy.org/docs/nightly/deployment.html#http-proxy
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



-- 
Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)


Tel: +3630/9605853
Fax: +3617002542


More information about the MapProxy mailing list