[mapserver-users] msLoadMap(): Unable to access file on fedora 9 - newbie
kmanoj-pg7 kmanoj-pg7
kmanoj-pg7 at iiitmk.ac.in
Thu Feb 19 01:55:31 PST 2009
Dear users..
I have been using mapserver 5.0.3 on fedora 9. now i am just playing with
examples given in the tutorial for mapserver 5.x, unfortunately i stuck in
the very first example explained in the tutorial. when i call the link
http://localhost/cgi-bin/mapserv?map=/mapfiles/sampletest/kerala.map&layer=kerala&mode=map
i faced the following error message
msLoadMap(): Unable to access file. (/mapfiles/sampletest/kerala.map)
i know i have done some silly mistake related to permission or path. I
checked everything like permission and path, but i just cannot make it work.
This my Map file for your kind perusal
Map
IMAGETYPE PNG
NAME "Gods own country"
SIZE 400 300
IMAGECOLOR 255 255 255
EXTENT -97.238976 41.619778 -82.122902 49.385620
SHAPEPATH "/var/www/html/mapfiles/sampletest/data/"
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
PROJECTION
"proj=laea"
"ellps=clrk66"
"lat_0=45"
"lon_0=-100"
#
# Alternatively, you can specify an EPSG code.
# "init=epsg:2163"
#
END
LAYER
NAME "kerala"
TYPE POLYGON
STATUS DEFAULT
DATA "/var/www/html/mapfiles/sampletest/data/kerala_districts.shp"
PROJECTION
"init=epsg:4326"
END
CLASS
STYLE
COLOR 232 232 232
OUTLINECOLOR 32 32 32
END
END
END
presumably , i am doing something stupid that i cannot see what
can anybody please help me out.... moreover am a newbie
help nd suggestion will be appreciated....
Thanks
kapilmanoj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090219/f48a174f/attachment.htm>
More information about the MapServer-users
mailing list