empty template variables

Chad Ringenberg chad at AGRIDATAINC.COM
Thu Mar 17 18:32:48 EST 2005


When processing my template files the special characters are not being replaced.  The image is correctly produced in the tmp directory.

win2k, IIS
mapserver 4.4.1


template.html only contains:   [img]|[version]

url I place in the webbrowser:
http://localhost/scripts/mapserv.exe?map=c:/mapserver/web/maps/map_files/states.map&layer=states

The browser is then directed to the template url:
http://localhost/phptest/template.html

template page displays: [img]|[version]

Why are these special characters not replaced??


mapfile:

NAME "states"
SIZE 400 400
STATUS ON
EXTENT -120 40 -85 48
SHAPEPATH "/mapserver/web/maps/data"
   
WEB
TEMPLATE "http://localhost/phptest/template.html"
IMAGEPATH "/mapserver/web/maps/tmp/"
IMAGEURL "/tmp/"
END
  
LAYER
NAME "states"
TYPE POLYGON
STATUS ON
DATA "states"
CLASS
STYLE
COLOR 110 50 100
OUTLINECOLOR 200 200 200
END
END
END
END



Thanks,
Chad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050317/2036f981/attachment.html


More information about the mapserver-users mailing list