[mapserver-users] setting mapserv path in template

gianluca.massei agr.gianluca.massei at gmail.com
Thu Dec 29 13:07:57 EST 2011


I'm new in mapserver, I'm following a tutorial but I can't go on. I've 
made a simple mapfile and a template with hidden form like this:

<form method=POST action="/usr/lib/cgi-bin/mapserv">
<input type="submit" value="Click to initialize">
<input type="hidden" name="program" value="/usr/lib/cgi-bin/mapserv">
<input type="hidden" name="map" value="/var/www/mapdata/maplab.map">
<input type="hidden" name=zoomsize size=2 value=2>
<input type="hidden" name="layers" value="geographcs monitoring">
</form>

If I open the template with a browser I get a download window and ask me 
If I wont download te  mapserv file.
Could you help me?

Thanks

Gianluca


More information about the mapserver-users mailing list