Possible Proxy Server problem

Bart van den Eijnden bartvde at XS4ALL.NL
Sat May 7 05:41:14 EDT 2005


Hi John,

For Microsoft IIS an environment variable works. For Apache you need to
use SetEnv in httpd.conf. Your problem does sound like a proxy problem to
me.

Let us know after httpd.conf gets changed.

Best regards,
Bart

On Sat, 07 May 2005 00:34:56 +0200, John Bonk <bonk at EOSDATA.GSFC.NASA.GOV>
wrote:

> Bart,
>
> Setting http_proxy in the environment didn't work.  I'll see if I can get
> someone with permission to change the httpd.conf.
>
> I'm not entirely sure the fire wall is to blame.  All I know is that the
> map file works on a machine without a fire wall.
>
> Thank you for the response,
> John
>
>
> At 22:19 2005-05-06 +0200, Bart van den Eijnden wrote:
>> Hi John,
>>
>> try specifying http_proxy as an environment variable. If you are using
>> Apache use SetEnv in httpd.conf.
>>
>> See for more information:
>>
>> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=571
>>
>> Best regards,
>> Bart
>>
>> On Fri, 06 May 2005 22:18:36 +0200, John Bonk
>> <bonk at EOSDATA.GSFC.NASA.GOV>
>> wrote:
>>
>>> We have been having trouble getting our mapserver to retrieve data from
>>> remote machines.  I suspect the problem may be connecting through our
>>> proxy
>>> server.
>>>
>>> We have specified our proxy server in a .dodsrc file, and we have been
>>> able
>>> to retreive data from a dods server.  But we still can't retrieve files
>>> from wms servers.
>>>
>>> Is there something special that has to be done to tell mapserv to go
>>> through a proxy when retrieving data from a wms server?
>>>
>>> The map file is below.  It works on another machine that does not have
>>> a
>>> proxy server.
>>>
>>> Any help will be appreciated,
>>> John
>>>
>>> MAP
>>>    IMAGETYPE PNG
>>>      EXTENT -117.263 30.168 -83.774 51.676
>>>      units DD
>>>
>>>    DEBUG ON
>>>    SIZE 400 300
>>>    SHAPEPATH "data"
>>>
>>>    PROJECTION
>>>       "init=epsg:4326"
>>>    END
>>>
>>>    CONFIG PROJ_LIB /usr/local/share/proj/
>>>
>>>
>>>
>>>    WEB
>>>        IMAGEPATH  '/local/tools/gdaac/TS2/www/workshop/tmp/'
>>>        IMAGEURL '/TS2/workshop/tmp/'
>>>        LOG '/local/tools/gdaac/TS2/www/workshop/debug.log'
>>>        METADATA
>>>          "wms_title"     "WMS Test Demo"
>>>          "wms_onlineresource"
>>> "http://g0dup05u.ecs.nasa.gov/TS2/cgi-bin/mapserv?"
>>>          "wms_abstract" "Test for mapserver"
>>>       "ows_schemas_location" "http://ogc.dmsolutions.ca"
>>>        END
>>>    END
>>>
>>>
>>>
>>>    #
>>>    # Start of scalebar
>>>    #
>>>    SCALEBAR
>>>      IMAGECOLOR 255 50 5
>>>      LABEL
>>>        COLOR 55 55 55
>>>        SIZE tiny
>>>      END
>>>      STYLE 1
>>>      SIZE 100 2
>>>      COLOR 0 0 0
>>>      UNITS MILES
>>>      INTERVALS 2
>>>      TRANSPARENT TRUE
>>>      STATUS EMBED
>>>    END
>>>
>>>
>>>    LAYER
>>>      NAME RTOPO
>>>      TYPE RASTER
>>>      units DD
>>>      OFFSITE 0 0 0
>>>      DEBUG ON
>>>      STATUS DEFAULT
>>>      PROJECTION
>>>       "init=epsg:4326"
>>>      END
>>>      CONNECTIONTYPE WMS
>>>      CONNECTION "http://globe.digitalearth.gov/viz-bin/wmt.cgi?"
>>>      METADATA
>>>        "wms_request" "GetMap"
>>>        "wms_name" "RTOPO"
>>>        "wms_server_version" "1.1.1"
>>>        "wms_srs" "EPSG:4326"
>>>        "wms_format" "image/png"
>>>      END
>>>    END
>>>
>>>
>>>    LAYER # MODIS raster layer begins here
>>>      METADATA
>>>          "wms_title" "test layer"
>>>      END
>>>      DEBUG ON
>>>      NAME modis
>>>      DATA RGB_mosaic_250m.tif
>>>      EXTENT -13053641.300000 3358256.867 -9325729.471  5752577.812
>>>      PROJECTION
>>>                  "proj=eqc"
>>>                  "lat_ts=0.0"
>>>                "x_0=0.0"
>>>                "y_0=0.0"
>>>      END
>>>      STATUS ON
>>>      TYPE RASTER
>>>    END # MODIS raster layer ends here
>>>
>>>    LAYER # States line layer begins here
>>>      METADATA
>>>          "wms_title" "test states layer"
>>>      END
>>>      DEBUG ON
>>>      NAME        states
>>>                  TYPE POLYGON
>>>                  STATUS ON
>>>                  DATA "statesp020"
>>>                  PROJECTION
>>>                          "proj=latlong"
>>>                          "ellps=GRS80"
>>>                          "datum=NAD83"
>>>                  END
>>>                  CLASS
>>>                          NAME "states"
>>>                          OUTLINECOLOR 60 60 60
>>>                          SYMBOL 0
>>>                  END
>>>    END # States line layer ends here
>>>
>>> END # end of map file.
>>> =======================================
>>> John Bonk
>>> SSAI/NASA GES DISC
>>> Phone:(301) 614-5280
>>> Fax:  (301) 614-5268
>>> For more information about
>>> the NASA GES DISC and its services:
>>> http://daac.gsfc.nasa.gov/
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
> =======================================
> John Bonk
> SSAI/NASA GES DISC
> Phone:(301) 614-5280
> Fax:  (301) 614-5268
> For more information about
> the NASA GES DISC and its services:
> http://daac.gsfc.nasa.gov/
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the mapserver-users mailing list