[MapProxy] Using local Mapserver binary

Oliver Tonnhofer olt at omniscale.de
Tue May 24 09:59:13 EDT 2011


On 24.05.2011, at 15:51, Christian Willmes wrote:
> Thanks for the hint,
> using `mapproxy-util serve-develop --debug mapproxy.yaml` I can see what
> happens:
> 
> [2011-05-24 15:36:54,566] mapproxy.source.request - INFO - CGI
> http://localhost/usr/sbin/mapserv?styles=&map=%2Fvar%2Flocal%2Fgeodaten%2FBathymetrie%2Ferasedreal%2FSealevel.map&format=image%2Fpng&height=1104&bbox=-20037508.3428,-1565430.33928,1565430.33928,20037508.3428&layers=-10_Meter,-20_Meter,-30_Meter,-40_Meter,-50_Meter,-60_Meter,-70_Meter,-80_Meter,-90_Meter,-100_Meter,-110_Meter,-120_Meter,-130_Meter,-140_Meter,-150_Meter&service=WMS&width=1104&request=GetMap&srs=EPSG%3A900913&version=1.1.1
> - 0.3 11
> 
> Mapproxy seems to try to access an URL which does not exist:
> http://localhost/usr/sbin/mapserv
> 
> Correct would be http://localhost/mapserv


No, this is not a real URL. It directly calls the mapserver as a CGI script. Your response looks too small (0.3kb). 

What does you Mapserver return when you request the same URL, i.e.:

> http://localhost/mapserv?styles=&map=%2Fvar%2Flocal%2Fgeodaten%2FBathymetrie%2Ferasedreal%2FSealevel.map&format=image%2Fpng&height=1104&bbox=-20037508.3428,-1565430.33928,1565430.33928,20037508.3428&layers=-10_Meter,-20_Meter,-30_Meter,-40_Meter,-50_Meter,-60_Meter,-70_Meter,-80_Meter,-90_Meter,-100_Meter,-110_Meter,-120_Meter,-130_Meter,-140_Meter,-150_Meter&service=WMS&width=1104&request=GetMap&srs=EPSG%3A900913&version=1.1.1

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn






More information about the MapProxy mailing list