[MapProxy] MapProxy passing parameters to wms source

Lars Lingner gislars at googlemail.com
Wed Nov 27 05:38:49 PST 2013

Hello Jukka,

thanks for your feedback. The second way, using default values in the
mapfile, is now working.
Without submitting any parameter, I'm getting the map with default
filter values applied. Very good so far.

I guess now I need to write some mod_rewrite rules for switching between
direct wms and proxy request.


On 27.11.2013 13:44, Rahkonen Jukka wrote:
> Hi,
> Feels like something that could be handled by filtering the requests
> before MapProxy and redirecting them if needed with something like
> Apache mod_rewrite
> http://httpd.apache.org/docs/current/mod/mod_rewrite.html
> Filtering might get easier if you would set up Mapserver with default
> values for the variables http://mapserver.org/cgi/runsub.html#runsub 
> Then in normal case your WMS client would not need to send vendor
> parameters at all and if any of them exists in the GetMap request the
> request would be redirected to the WMS.  MapProxy could be totally
> unaware about what is happening.
> -Jukka Rahkonen-

More information about the MapProxy mailing list