Most likely the absolute path to example1-1.map is not correct and thus cannot be found by mapserv.
If you do "ls -alh /ms4w/apps/tutorial/htdocs/example1-1.map" in a terminal window is it being listed? I am assuming that this can be done on a Mac, of course... Alex On Fri, Feb 19, 2010 at 5:52 PM, Andrew Lewin <[email protected]> wrote: > 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: [email protected] > Tel: (905) 639-4646 > Mobile: (905) 630-8441 > Skype: andrew.lewin99 > > > > > _______________________________________________ > 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
