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 <[email protected]>
> 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:[email protected]/wms/vmap0</url>
>
> -Jukka Rahkonen-
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users