<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello<br>
<br>
I have installed map server but while I am trying to test the demo map
I get following error :<br>
<!-- MapServer version 4.10.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE DEBUG=MSDEBUG -->Content-type:
text/html
msReturnPage(): Unable to access file. set in index.html<br>
<br>
and also I noticed that png files have been created in root of demo
with following names:<br>
<br>
[root@firstone workshop-5.0]# ls -la set*<br>
-rw-r--r-- 1 apache apache 25840 Jan 9 11:57 set in
index.htmlITASCA11998942593258.png<br>
-rw-r--r-- 1 apache apache 422 Jan 9 11:57 set in
index.htmlITASCAleg11998942593258.png<br>
-rw-r--r-- 1 apache apache 353 Jan 9 11:57 set in
index.htmlITASCAref11998942593258.png<br>
-rw-r--r-- 1 apache apache 163 Jan 9 11:57 set in
index.htmlITASCAsb11998942593258.png<br>
<br>
<br>
here is my changes to index.html located in workshop-5.0 <br>
<br>
<br>
<br>
// EDIT THE NEXT 2 LINES TO MATCH YOUR SETUP<br>
var snippet = "IMAGEPATH '/var/www/html/workshop-5.0/tmp/'";<br>
snippet += " IMAGEURL '/tmp/'";<br>
snippet += " TEMPLATE " + template;<br>
<br>
document.demo.map_web.value = snippet; <br>
<input type="hidden" name="map"
value="/var/www/html/workshop-5.0/itasca.map"><br>
<input type="hidden" name="program"
value="/cgi-bin/mapserv"><br>
<input type="hidden" name="root"
value="/var/www/html/workshop-5.0/"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>