<div dir="ltr">According to <a href="http://mapserver.org/mapcache/config.html">http://mapserver.org/mapcache/config.html</a> you can simply add the athorization header to the http section:<br><br><pre><span class=""><source</span> <span class="">name=</span><span class="">"xyz"</span> <span class="">type=</span><span class="">"wms"</span><span class="">><br>
</span></pre><pre><span class="">  <http><br></span></pre><pre><span class="">    <headers><br></span></pre><pre><span class="">      <</span><span class="">Authorization></span><span class="">Basic [base64_encoded value from name,password]</</span>Authorization></pre>
<pre><span class="">    </headers><br></span></pre><pre><span class="">  </http><br></span></pre><pre><span class=""></source><br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif"><span class="">You may use <a href="http://www.base64encode.org/">http://www.base64encode.org/</a> to encode your Username and Password, written as username,password -> encodes to dXNlcm5hbWUscGFzc3dvcmQ=, so the full configuration for this login will be:<br>
</span></span><br><span class=""><span class=""><</span><span class="">Authorization></span><span class="">Basic dXNlcm5hbWUscGFzc3dvcmQ=</</span>Authorization><span class=""></span><br><br></span></pre><pre><span class="">Matrin<br>
</span></pre></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/12 Rahkonen Jukka <span dir="ltr"><<a href="mailto:jukka.rahkonen@mmmtike.fi" target="_blank">jukka.rahkonen@mmmtike.fi</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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<br>

<br>
<url><a href="https://user:password@vmap0.tiles.osgeo.org/wms/vmap0" target="_blank">https://user:password@vmap0.tiles.osgeo.org/wms/vmap0</a></url><br>
<span class="HOEnZb"><font color="#888888"><br>
-Jukka Rahkonen-<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></span></blockquote></div><br></div>