VS: [UMN_MAPSERVER-USERS] WMS Client Connection through a proxy
Rahkonen Jukka
Jukka.Rahkonen at MMMTIKE.FI
Fri Sep 28 05:09:16 PDT 2007
> -----Alkuperäinen viesti-----
> Lähettäjä: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Puolesta Kralidis,Tom
> [Burlington]
> Lähetetty: 28. syyskuuta 2007 15:01
> Vastaanottaja: MAPSERVER-USERS at LISTS.UMN.EDU
> Aihe: Re: [UMN_MAPSERVER-USERS] WMS Client Connection through a proxy
>
>
> > I'm trying as a WMS client to connect an OGC server through
> a proxy,
> > but all I'm getting is a blank image.
> >
> > I'm using Mapserver 4.6.1 with WFS_CLIENT support and here
> is to code
> > from the mapfile I'm using :
> >
> > LAYER
> > CONNECTION
> > "http://ogcrisques.brgm.fr/cgi-bin/mapserv?map=/application/ma
> pserver/mapFiles/risquesIT.map?"
> > CONNECTIONTYPE WMS
> > METADATA
> > "wms_srs" "EPSG:27582"
> > "wms_exceptions_format" "application/vnd.ogc.se_xml"
> > "wms_name" "DAT_SIREN_FS"
> > "wms_proxy_*" "192.168.1.14:8080"
> > "wms_format" "image/png"
> > "wms_server_version" "1.1.1"
> > END
> > NAME "layerBD_MVT"
> > PROJECTION
> > "init=epsg:27582"
> > END
> > SIZEUNITS PIXELS
> > STATUS ON
> > TOLERANCEUNITS PIXELS
> > TYPE RASTER
> > UNITS METERS
> > END
> >
>
> I'm not sure if this is supported (i.e. I don't see any proxy
> type metdata in either WMS client or WFS client). Is the
> CONNECTION URL only accessible via proxy?
>
> ..Tom
Hi,
In MS4W installation proxy is handled in Apache httpd.conf file:
SetEnv "http_proxy" "proxy.address:port"
and possibly SetEnv "NO_PROXY" in a similar way.
-Jukka Rahkonen-
More information about the MapServer-users
mailing list