Hi all i am finally busy with the map sever but
have some troubles to set the demo up
I spend now several hours to find out what is going wrong
changing directories etc
OS X keeps the web documents in
/Library/WebServer/Documents
and cgi in
/Library/WebServer/CGI-Executables with an script alias in httpd.conf
cgi-bin
this is the terminal output ./mapserv.cgi -v
localhost:/Library/WebServer/CGI-Executables] orangebo% ./mapserv.cgi
-v
MapServer version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG INPUT=GDAL
INPUT=SHAPEFILE
[localhost:/Library/WebServer/CGI-Executables] orangebo%
i get this error from the demo_init.html
msLoadMap(): Unknown identifier. (SHADESET):(6)
This is in the demo_init.html
<
<<MapServer Demo Interface<<
<
<<MapServer Demo Interface<
<
<<
<
Click on the initialize button to fire up the demo with 3 layers turned
on will be accessible for browsing. The
data are of Itasca County, MN and were derived, for the most part, from
USGS 1:24,000 quadrangles. Some things to note are:
<
<<
<
This is in the demo.map file
#
# Start of web interface definition
#
WEB
HEADER demo_header.html
TEMPLATE demo.html
FOOTER demo_footer.html
MINSCALE 1000
MAXSCALE 1550000
IMAGEPATH "/Library/WebServer/Documents/ms_demo/tmp/"
IMAGEURL "/ms_demo/tmp/"
# LOG "/Library/WebServer/Documents/ms_demo/demo.log"
END
QUERYMAP
i specialy created this tmp dir the server needs it probably to store
the produced image?
and this is the demo.html
<
<
<MapServer Demo Interface<<
<
<<MapServer Demo Interface<
<
<
<
<<
<
<<
and it produces this error
msLoadMap(): Unable to access file. Illegal mapfile name.
I hope some one can point me out on this i got a compiled version 3.5
from
Puneet Kishor <
-Pushkar S. Pradhan