[Mapserver-dev] Question about basic authentication in a WMS connection

Bart van den Eijnden bartvde at xs4all.nl
Fri Feb 27 15:50:38 EST 2004


Hi Sean,

I use a Windows binary from 02-02-2004 and there it still works.

Is this syntax working for you in e.g. Mozilla Firefox when you do a 
GetCapabilities request on the remote WMS?

Best regards,
Bart

On Fri, 27 Feb 2004 13:28:58 -0700, Sean Gillies <sgillies at frii.com> wrote:

> Hi all, I've run into a nasty bug with a WMS client connection.  I'm 
> digging
> into the code right now, but am hoping that one of the WMS developers 
> will
> have some suggestions for me.
>
> Problem is that with the CVS mapserver a WMS layer with a connection like
>
>      CONNECTION "http://user:passwd@host/servlet?&foo=bar"
>
> is falling all the way through the logic in msDrawLayer to the point 
> where
> we try to draw it using drawEPPL().  Any reasons why this connection
> wouldn't work?
>
> Here is a layer that works for me
>
>    LAYER
>      NAME "aerial"
>      TYPE RASTER
>      STATUS ON
>      CONNECTION "http://terraservice.net/ogcmap.ashx"
>      CONNECTIONTYPE WMS
>      METADATA
>        "wms_srs" "EPSG:4326"
>        "wms_name" "DOQ"
>        "wms_style" ""
>        "wms_server_version" "1.1.1"
>        "wms_format" "image/jpeg"
>        "wms_connectiontimeout" "60"
>      END
>      PROJECTION
>        "init=EPSG:4326"
>      END
>    END
>
> And this layer (service's name has been changed to protect the innocent 
> :)
> fails
>
>    LAYER
>      NAME "aerial"
>      TYPE RASTER
>      STATUS ON
>      CONNECTION "http://user:passwd@host/servlet?&foo=bar"
>      CONNECTIONTYPE WMS
>      METADATA
>        "wms_srs" "EPSG:4326"
>        "wms_name" "DOQ"
>        "wms_style" ""
>        "wms_server_version" "1.1.1"
>        "wms_format" "image/jpeg"
>        "wms_connectiontimeout" "60"
>      END
>      PROJECTION
>        "init=EPSG:4326"
>      END
>    END
>
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
>



-- 
  



More information about the mapserver-dev mailing list