Unable to access file???

Trevor Banister trevor at banisterconsulting.com
Mon Jun 5 16:11:19 PDT 2000


Unless you compile under the Cygwin environment, you do need drive letters
and back slashes.

Trevor

-----Original Message-----
From: Stephen Lime [mailto:steve.lime at dnr.state.mn.us]
Sent: Monday, June 05, 2000 11:09 AM
To: mapserver-users at lists.gis.umn.edu; aborruso at spaziogis.it
Subject: Re: Unable to access file???


Some of the other users with more experience on NT can confirm or deny this
but
you may need to specify a drive letter too. NT seems very particular about
paths.

s.

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> <aborruso at spaziogis.it> 06/05/00 11:16AM >>>
Dear mapserver users,
I have begun to use mapserver few days ago. I have installed it on windows 
Nt machine and It seems to work, but I'm not be able to view a very simple 
map. I have begun to write a simple map file and then I have put this 
string in my web browser (IE 5):
http://easyms/cgi-bin/mapserv.exe?map=/ms_demo/prova.map&mode=map.
The result is: msLoadMap(): Unable to access file. (/prova.map) 
        I have used the Path, relative to the CGI directory, but I have no 
result.
        This is my map file:

        NAME EX1 
EXTENT 74000 4775000 798000 5500000 
SIZE 300 300 
SHAPEPATH "/ms_demo/data" 
LAYER 
  NAME "lakes" 
  DATA lakes
  STATUS DEFAULT
  TYPE POLYGON 
  CLASS 
    COLOR 250 175 25 
  END
END
END

Please help me.
Thank you



More information about the MapServer-users mailing list