[mapserver-users] Mapfile Location for WMS Server

Andrew Ayre andy at britishideas.com
Thu Apr 2 09:05:35 PDT 2009


Thanks to everyone that replied - I have it working now. I saw that you 
can add additional parameters to tile requests, but what confused me is 
that I didn't know you could add them to the getcapabilities request.

Thanks!

Andy

Benoît Andrieu wrote:
> 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 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 
> 

-- 
Andy
PGP Key ID: 0xDC1B5864



More information about the MapServer-users mailing list