help novice getting Itasca demo working

Mike Jackson mj at SCI.FI
Sat Oct 16 06:11:42 PDT 2004


Brent Wood wrote:

>
> my index.html file is edited to
>
>  <!-- EDIT THESE HIDDEN VARIABLES -->
>       <input type="hidden" name="map"
> value="/srv/www/htdocs/mapserver_demos/itasca/itasca.map">
>       <input type="hidden" name="program" value="/cgi-bin/mapserv">
>       <input type="hidden" name="root" value="srv/www/cgi-bin">
>       <input type="hidden" name="map_web_imagepath"
> value="/srv/www/htdocs/tmp/">
>       <input type="hidden" name="map_web_imageurl" value="/tmp">
>
>
> The *.png images of the legend, scale & map are being written to
> /srv/www/htdocs/tmp/, but are not displayed by the browser.

Hi,
  What does the WEB section in your mapfile look like?

  You should have something like this:

WEB
     TEMPLATE     'foo.html'
     IMAGEPATH    '/srv/www/htdocs/tmp/'
     IMAGEURL     '/tmp/'
END


HTH,
--
mike



More information about the MapServer-users mailing list