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 <[email protected]> De la part de 
Boubacar Bah
Envoyé : lundi 20 septembre 2021 02:38
À : [email protected]
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.
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to