<div dir="ltr">Excuse me for sending another mail with this subject. <br><br>I managed to partially display a map of the data for the workshop files<br>The only way the application displays a map is if I choose on the main page <br>
<br clear="all">-- Adds dhtml rubber-band box<br><br>Other than that I get a grey box instead of a map. When I look at the address of the gray box it looks for the map picture in:<br><a href="http://localhost/cgi-bin/tmp/ITASCA12238324346226.png">http://localhost/cgi-bin/tmp/ITASCA12238324346226.png</a><br>
<br>however the picture is in:<br>/var/www/mapserver/tmp or localhost/mapserver/tmp<br><br>again, here is how I edited index.html<br>lines 8 - 10<br> // EDIT THE NEXT 2 LINES TO MATCH YOUR SETUP<br> var snippet = "IMAGEPATH 'tmp/'";<br>
snippet += " IMAGEURL 'tmp/'";<br><br>and line 33-44:<br> <!-- EDIT THE FORM ACTION --><br> <form name="demo" method="GET" action="../cgi-bin/mapserv" onSubmit="configure()"><br>
<br> <input type="hidden" name="layer" value="lakespy2"><br> <input type="hidden" name="layer" value="dlgstln2"><br> <input type="hidden" name="zoomsize" value=2><br>
<input type="hidden" name="map_web" value=""><br><br> <!-- EDIT THESE HIDDEN VARIABLES --><br> <input type="hidden" name="map" value="/var/www/mapserver/itasca.map"><br>
<input type="hidden" name="program" value="../cgi-bin/mapserv"><br> <input type="hidden" name="root" value="/mapserver"><br><br>Do I need to change something in other file so it would work in the right way?<br>
<br>I hope this is more clear, and helps to solve my problem.<br><br>thanks, Oz.<br><br><br>----<br> Imagine there's no countries<br> It isn't hard to do<br> Nothing to kill or die for<br>
And no religion too<br> Imagine all the people<br> Living life in peace <br>----<br> You all must read 'The God Delusion' <br> <a href="http://en.wikipedia.org/wiki/The_God_Delusion">http://en.wikipedia.org/wiki/The_God_Delusion</a><br>
---<br>when one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion."<br>Robert Pirsig, Zen and the Art of Motorcycle Maintenance<br><br>
</div>