[mapserver-users] Server Root

Andrew Lewin alewin at spatialconserve.com
Fri Feb 19 16:52:43 PST 2010


Dear Listers,

I am a beginner user of Mapserver.  I installed Mapserver and Apache2  
successfully.  I am running Mac OS X 10.5.8 Leopard.

I downloaded the tutorial data and tried to view Example 1, but I was  
unable to do so.  I got the error for the following command:

http://192.168.1.147/cgi-bin/mapserv?map=/ms4w/apps/tutorial/htdocs/example1-1.map&layer=states&mode=map

msLoadMap(): Unable to access file. (/ms4w/apps/tutorial/htdocs/ 
example1-1.map)

  I noticed that the example1-1.map was not in the htdocs file in the  
file tree that I downloaded, but it was in the mapfile folder.

I still got the same error.

I searched around for the solutions on the web, but I didn't really  
understand them.  I think the problem is that I can't find the web  
root where the files should be stored.

I looked in the httpd.config file and saw that the ServerRoot was "/ 
usr" so I added the tutorial files in that folder, but again no  
solution.  What am I doing wrong?

I would appreciate any help you can provide?

Thanks,

Andrew

Andrew Lewin, M.Sc., Adv. Dipl. GIS
President
Spatial-Conserve Inc.
www.spatialconserve.com
Email: alewin at spatialconserve.com
Tel: (905) 639-4646
Mobile: (905) 630-8441
Skype: andrew.lewin99




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100219/819f698a/attachment.htm>


More information about the MapServer-users mailing list