[Mapserver-users] map file permission denied
Ed McNierney
ed at topozone.com
Mon Oct 27 13:53:30 PST 2003
Nick -
And what output does this command produce?
ls -l /home/httpd/html/map/yield.map
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com
ed at topozone.com
-----Original Message-----
From: Nick Petersen-Bergeron [mailto:bergeron at zedxinc.com]
Sent: Monday, October 27, 2003 4:21 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] map file permission denied
I'm trying to open a basic mapfile, and I'm continually getting a
mapfile
permission denied error. The permissions on the mapfile are set to
777. Here is the mapfile:
#
# Start of map file
#
NAME YIELD
STATUS ON
SIZE 150 150
EXTENT -91.1644 34.6098 -91.1306 34.6399
UNITS DD
SHAPEPATH "./"
IMAGECOLOR 255 255 255
##
## Start of web interface definition
##
WEB
IMAGEPATH "/home/httpd/html/dy_images/"
IMAGEURL "/dy_images/"
END
SYMBOL
NAME "circle"
TYPE ellipse
FILLED true
POINTS
1 1
END
END
LAYER
NAME image
TYPE raster
DATA ""
STATUS ON
TEMPLATE void
CLASS
NAME "img"
END
END
#
#LAYER
# NAME points
# TYPE point
# DATA ""
# STATUS ON
# TEMPLATE void
# CLASS
# NAME "dots"
# SIZE 5
# COLOR 255 0 0
# SYMBOL 'circle'
# END
#END
END # Map File
My map object declaration line is simple, just this:
my $map = new mapObj('/home/httpd/html/map/yield.map') or die("Unable to
open mapfile. $!");
This is the error: Unable to open mapfile. Permission denied
Any ideas?
BTW, thanks to those of you who helped with my dynamic class creation
problem. The error turned out to be a silly mistake regarding a
double-quote that should have been a single-quote.
Nick Petersen-Bergeron
Developer
ZedX Inc.
369 Rolling Ridge Drive
Bellefonte, PA. 16823
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list