Unable to access file???

Zolla Michalak michalak at hwr.arizona.edu
Mon Jun 5 09:38:07 PDT 2000


I've also had some problems with accessing the map file. I have it working
now with a complete path, rather than relative from the cgi-bin. Also,
make sure your file permissions are set correctly.

-zm

On Mon, 5 Jun 2000 aborruso at spaziogis.it wrote:

> 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