[FGS] [http] Document root for mapserver

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Jun 17 10:10:27 EST 2010


Hello,

I have a few comments inline below:

Vincent Letocart wrote:
> Good afternoon
> 
> After installing Mapserver, the challenge is to get it working.
> The following question is related to the usage of mapserver
> through the webbrowser. I wonder why MapServer is trying 
> to find a file at the root of the file system...
> 
> When I copy an example file from the tutorial:
> 
>      http://biometry.gis.umn.edu/tutorial/example1-1.html

The official MapServer 5.6 tutorial is found at: 
http://www.mapserver.org/tutorial/index.html

The tutorial files can be downloaded from: 
http://download.osgeo.org/mapserver/docs/mapserver-tutorial.zip

> 
> I first want to see if the file is correctly accessed. For instance, 
> I put the example with name 'tutorial_1.map', and I call mapserver
> from the browser:
> 
>      http://mysite:8081/cgi-bin/mapserv?map=/tutorial_1.map&layer=states&mode=map
> 

When you say "put the example", where did you place that mapfile?  With 
your answer (such as "/home/jeff/map/"), then in your MapServer URL the 
"map=" parameter should point to your mapfile location (such as 
"map=/home/jeff/map/tutorial.map&...").

Also, you might find that more people are available on the main 
MapServer email list to help you with tutorial questions.

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the Foss-gis-suite mailing list