[MapProxy] Requesting WMS with basic authentication

Jorge Gaspar Sanz Salinas jsanz at osgeo.org
Wed Dec 5 05:46:22 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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?

- -- 
Jorge Gaspar Sanz Salinas
http://es.osgeo.org
http://jorgesanz.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQv1AuAAoJEAOYD75lvHdBTwEH/R0YmpECK+wmRResxKNLHoZQ
RE/1zEjJz84q6oYRhwN+sUbHcO9gZcPPebVzQAyDCMQ7C3unJMLeHHaB6sVgd+Qi
xaxHJ3Kq0B3R3/04kDb1hpA2hUco4pWa5onwZEDJAIXG524XtjT/AYMhvgagrDvU
rLoBULlPVUtRaeYjd2E4oM+ebYa3O82sykqd++xmh+jEVITCbxXjuHpvFg8fy5WV
3hcF6X6XkRFyDpOEPVD8nc7iqP7NVhrdjHSjUkT26d2NaZ3gGQYR0mIWz3EbK3aG
bLjA9L+mi6NwvIFAETlMrtZSA+I2jDEwDZLxihxVAJxoUg6qBZavM7yQxxbUYR0=
=0dCD
-----END PGP SIGNATURE-----


More information about the MapProxy mailing list