[MapProxy] Requesting WMS with basic authentication

Oliver Tonnhofer olt at omniscale.de
Wed Dec 5 07:10:32 PST 2012

On 05.12.2012, at 14:46, Jorge Gaspar Sanz Salinas wrote:
> On a (new!) MapProxy 1.5 I'm trying to cache a secured WMS. I can see
> the WMS using for example QGis after entering user/passwd. On MapProxy
> I'm using the next config:
> sources:
>   sec_wms:
>     type: wms
>     req:
>       url: http://user:pass@myserver/geoserver/wms?
>       layers: secured_layer
> But on the source-requests.log I see requests without the login
> information so the server is answering with an error because the layer
> is not found.
> Maybe I'm missing something?

MapProxy doesn't log the username/password. What errors do you get? Maybe issued with an HTTP proxy?


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

More information about the MapProxy mailing list