Hello

I have installed map server but while I am trying to test the demo map I get following error :
Content-type: text/html msReturnPage(): Unable to access file. set in index.html

and also I noticed that png files have been created in root of demo with following names:

[EMAIL PROTECTED] workshop-5.0]# ls -la set*
-rw-r--r-- 1 apache apache 25840 Jan  9 11:57 set in index.htmlITASCA11998942593258.png
-rw-r--r-- 1 apache apache   422 Jan  9 11:57 set in index.htmlITASCAleg11998942593258.png
-rw-r--r-- 1 apache apache   353 Jan  9 11:57 set in index.htmlITASCAref11998942593258.png
-rw-r--r-- 1 apache apache   163 Jan  9 11:57 set in index.htmlITASCAsb11998942593258.png


here is my changes to index.html located in workshop-5.0



 // EDIT THE NEXT 2 LINES TO MATCH YOUR SETUP
        var snippet = "IMAGEPATH '/var/www/html/workshop-5.0/tmp/'";
        snippet += " IMAGEURL '/tmp/'";
        snippet += " TEMPLATE " + template;

        document.demo.map_web.value = snippet;
<input type="hidden" name="map" value="/var/www/html/workshop-5.0/itasca.map">
      <input type="hidden" name="program" value="/cgi-bin/mapserv">
      <input type="hidden" name="root" value="/var/www/html/workshop-5.0/">







Reply via email to