[mapserver-users] aking help about wms connection with mapserver

CASTRO, Emmanuel emmanuel.castro at capgemini.com
Thu Sep 23 00:33:37 PDT 2021


Bonjour

Given the pathname of your path, it seems that your deployment is on Windows.
Maybe it is because you omitted the .exe suffix at the end of ‘…cgi-bin/mapserv?...’. Try ‘…cgi-bin/mapserv.exe?...’.

Double-check the map path too. It’s always a good idea to double-check.

Good luck

Emmanuel

De : MapServer-users <mapserver-users-bounces at lists.osgeo.org> De la part de Boubacar Bah
Envoyé : lundi 20 septembre 2021 02:38
À : mapserver-users at lists.osgeo.org
Objet : [mapserver-users] aking help about wms connection with mapserver

This mail has been sent from an external source

good evenin recently i created a mapfile which shoul use a wms server to display a map but oce that i run the url below in the browser:
http://localhost/cgi-bin/mapserv?map=C:/ms4w/Apache/htdocs/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=country_bounds&STYLES=&SRS=EPSG:4326&BBOX=-173.537,35.8775,-11.9603,83.8009&WIDTH=400&HEIGHT=300&FORMAT=image/png
they send me an error below:
The requested URL was not found on this server.
this is my layer below :
LAYER
   NAME  modis_nasa
   TYPE  RASTER
   OFFSITE 0 0 0
   STATUS  OFF
   CONNECTIONTYPE   WMS
   CONNECTION      "https://neo.sci.gsfc.nasa.gov/wms/wms?"
   METADATA
    "wms_srs" "EPSG:4326"
    "wms_name" "MOD_143D_RR"
    "wms_server_version" "1.1.1"
    "wms_format" "image/jpeg"
   END
   PROJECTION
     "init=EPSG:4326"
   END
END


now i want to know how to fix this problem
thanks


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210923/7e00a3e9/attachment.html>


More information about the MapServer-users mailing list