[mapserver-users] Mapfile Location for WMS Server

Benoît Andrieu bea at ixsea.com
Thu Apr 2 00:38:36 PDT 2009


Hi Andrew,

You can put the file wherever you want on your file system at the condition that MapServer has the rights to reach it and read it.

How did you get this error ?

Your request to Mapserver should include a parameter specifying the map to read :
http://localhost/mapserver/cgi-bin/mapserv.exe?map=c:\data\mymap.map&...

Regards,

Benoît Andrieu
bea at ixsea.com
benoit.andrieu at gmail.com

----- Original Message ----- 
From: "Andrew Ayre" <andy at britishideas.com>
To: <mapserver-users at lists.osgeo.org>
Sent: Thursday, April 02, 2009 6:44 AM
Subject: [mapserver-users] Mapfile Location for WMS Server


> Hi! I'm setting up a WMS server with mapserver using PostGIS. The mapserver will be a central server providing data to multiple 
> websites.
>
> I have mapserv in cgi-bin and nothing in public_html because it isn't needed.
>
> Where do I place the map file? I've tried putting it in cgi-bin and public_html and both give the same result when trying to get 
> the WMS capabilities:
>
> loadMap(): Web application error. CGI variable "map" is not set.
>
> thanks, Andy
>
> -- 
> Andy
> PGP Key ID: 0xDC1B5864
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users 




More information about the MapServer-users mailing list