[mapserver-users] MapCache and WMS source with Basic Auth
Martin Kofahl
martin.kofahl at gmail.com
Fri Apr 12 08:57:47 PDT 2013
According to http://mapserver.org/mapcache/config.html you can simply add
the athorization header to the http section:
<source name="xyz" type="wms">
<http>
<headers>
<Authorization>Basic [base64_encoded value from
name,password]</Authorization>
</headers>
</http>
</source>
You may use http://www.base64encode.org/ to encode your Username and
Password, written as username,password -> encodes to
dXNlcm5hbWUscGFzc3dvcmQ=, so the full configuration for this login
will be:
<Authorization>Basic dXNlcm5hbWUscGFzc3dvcmQ=</Authorization>
Matrin
2013/4/12 Rahkonen Jukka <jukka.rahkonen at mmmtike.fi>
> Hi,
>
> Is it possible to configure Mapcache to use a WMS source which is using
> http Basic authentication through https? Are there some
> hidden/undocumented parameters for that or would it work simply by giving
> the service URL as
>
> <url>https://user:password@vmap0.tiles.osgeo.org/wms/vmap0</url>
>
> -Jukka Rahkonen-
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130412/0ac1aada/attachment.htm>
More information about the MapServer-users
mailing list