[Mapserver-users] WMS Client Problem

Daniel Morissette dmorissette at dmsolutions.ca
Wed Feb 18 18:20:54 EST 2004


bartvde at xs4all.nl wrote:
> Hi Stefan,
> 
> I had the exact same problem (and still have, because we have changed
> things in the firewall/proxy to solve this).
> 
> I think you need to recompile Mapserver and libcurl to have it going
> through the proxy. Not a totally trivial task.
> 
> I think it would be a nice enhancement to Mapserver if we could specify in
> the MAP file whether or not the WMS client needs to go through a proxy and
> then the address/URL of the proxy. 

If I remember correctly it's just a few extra parameters to pass to 
libcurl, so I don't think it would be too hard to support a proxy. 
However I am wondering if the proxy settings should be global to the 
mapfile (i.e. in the WEB object), or local to the WMS layer (i.e. 
wms_proxy_* metadata).  It seems to me that it would make sense to have 
a single set of parameters in the web object, but I don't know if there 
are cases where someone needs different proxies to get to different hosts.

I have created a bug to discuss this, please add your comments there:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=571


> Also some kind of authentication
> support for the WMS client would be nice.
> 

Does it work if you use http://user:password@host.domain.com/... in the 
online resource?  If not then please create a enhancement bug for this 
and I'll see what can be done.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list