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
[email protected]
[email protected]
----- Original Message -----
From: "Andrew Ayre" <[email protected]>
To: <[email protected]>
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users