New User question

Sean Montague scene at THEMOUNTAINSCENE.COM
Tue Nov 15 14:08:37 EST 2005


I installed mapserver on windows XP with  ms441pg.zip and I am working
through the tutorial.  I am running Apache, and my localhost folder is
C:\web and mapserver located at C:\web\mapserver\.  I'm trying to load a
shape file to get started, so I copied the example1-1.map and modified
it,correctly I hope.  When I use the url modified for my computer I get:

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

url:
http://localhost/cgi-bin/mapserv.exe?map=/mapserver/apps/tutorial/htdocs/example1-1.map&layer=roads&mode=map

Am I missing something?  My map file is below.  Thanks.

Sean

MAP
 IMAGETYPE      JPEG
 EXTENT         482565 4392206 488236 4396914
 SIZE           400 300
 SHAPEPATH      "/mapserver/apps/tutorial/data"
 IMAGECOLOR     255 255 255
 LAYER # States polygon layer begins here
  NAME         roads
  DATA         rds2
  STATUS       OFF
  TYPE         POLYGON
  CLASS
   NAME       "My Roads"
   STYLE
    COLOR        232 232 232
    OUTLINECOLOR 32 32 32
   END
  END
 END
END



More information about the mapserver-dev mailing list