[Mapserver-users] Mapserver as WMS-client and authentication
Daniel Morissette
morissette@dmsolutions.ca
Fri, 21 Nov 2003 13:40:48 -0500
GeoIT wrote:
>
> The problem: How I can tell Mapserver (V.3.6, Maplab 2.01) to send user and
> password ?
>
> Sending it as http://user:pwd@..... Via the browser works, but if I add it
> to CONNECTION-URL in the mapfile, a blank image is coming back.
>
> Is there any other possibility to access secured layers from other WMS ?
>
I haven't tested this, but I would suggest that you try with MapServer
4.0. It uses libcurl instead of libwww for its HTTP requests and it may
well be that curl will accept the user:password@hostname in the
connection string. If it doesn't then please file an enhancement bug
for this in bugzilla and we'll see what we can do to pass the
user/password to curl.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users