[OSGeo Africa] Asking help about wms connection

Frank Sokolic sokolic at worldonline.co.za
Mon Sep 20 22:44:10 PDT 2021


Hi Boubacar,

Looks like you're running this on Windows so try using "mapserv.exe" in 
the URL and not just "mapserv".

Regards, Frank.

On 2021/09/21 03:20, Boubacar Bah wrote:
>
> 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 
> <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 
> <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
>
>
> _______________________________________________
> Africa mailing list
> Africa at lists.osgeo.org
> You can UNSUBSCRIBE at https://lists.osgeo.org/mailman/listinfo/africa


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20210921/201efa35/attachment.html>


More information about the Africa mailing list