<div dir="ltr"><div><div><div><div><div>Hi,<br></div>I tried to create a simple map application whit zoom and pan capabilities, following the instructions contained in the book "Beginning MapServer".<br>I created a map file (secondo.map), an initialization file (secondo_i.html) and a template file (secondo.html).<br>
</div><br>When I lunch the command <br><br><a href="http://localhost/secondo_i.html">http://localhost/secondo_i.html</a> <br><br></div>the browser shows this error message:<br><br>msCGILoadMap(): Web application error. CGI variable "map" is not set.
<br><br></div><div>I work with Mapserver 6.4.1-2 and OS: Ubuntu 14.04<br></div><div><br></div><br></div>Text contained in initialization file:<br><br><html><br> <head><title>MapServer Seconda mappa</title></head><br>
<body><br> <form method=POST action="/cgi-bin/mapserv"><br> <input type="submit" value="Clicca qui"><br> <input type="hidden" name="program" value="/cgi-bin/mapserv"<br>
<input type="hidden" name= "map" value = "/home/enrico/mapserverdata/secondo.map"><br> <input type="hidden" name="zoomsize" size=2 value=2><br>
<input type="hidden" name="layers" value="Regioni Fiumi Province"><br> </form><br> </body><br></html> <br><br><div><div><br></div></div></div>