FWD: using an URL for TEMPLATE
teb
teb at mallit.fr.umn.edu
Sun Oct 8 08:42:04 PDT 2000
------------- Begin Forwarded Message -------------
Date: Wed, 4 Oct 2000 09:44:01 -0600 (MDT)
From: Daniel Mallett <dmallett at divestco.com>
To: mapserver-info at lists.gis.umn.edu
Subject: using an URL for TEMPLATE
MIME-Version: 1.0
Hi, in my MAP file i'm trying to tell MapServer to go to an URL instead of
using an actual HTML template page.
in the web object i have:
WEB
TEMPLATE "http://www.test.com/test?img=[img]"
Also, in the LAYER object i have
QUERY
TEMPLATE "http://www.test.com/test?img=[img]
END
In both cases the URL will load no problem, but the attribute [img] won't
be substituted. The browser will be sent to
"http://www.test.com/test?img=[img]" when what i want it to do is send me
to something like "http://www.test.com/test?img=1234567890.gif".
The only workaround i have so far is to use an actual template.html with a
<meta http-equiv="refresh"> tag which for many reasons is not a great
solution.
Thanks for any help you can offer!
------------- End Forwarded Message -------------
More information about the MapServer-users
mailing list