[Mapserver-users] MS 4.0 CGI Bug ?
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Tue Dec 23 15:25:17 PST 2003
Ahhh! I can't believe that this caught me! I saw a post about this
the other day and said to myself -- you need to remember this! You
will be doing it next week.
I'm embarrassed that I didn't remember it! -- Duh!
Thank you for the assist,
-Steve W.
On 23 Dec 2003 at 15:00, David Fawcett wrote:
> Steve,
>
> Look at TEMPLATEPATTERN in the LAYER object.
>
> http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#templatepattern
>
>
> To swap templates through URL substitution, you have to set an
> expression in template pattern that will match the name of your
> template.
>
> David.
>
>
>
> David J. Fawcett
> MN Office of Environmental Assistance
>
> >>> <woodbri at swoodbridge.com> 12/23/2003 2:42:11 PM >>>
> Unless, I am doing something wrong (which is highly likely :), I can
> not get the CGI interface to replace the TEMPLATE value in the
> mapfile.
>
> I have tried using:
>
> http://....&template=%2Fhome%2Fmsapps%2Ftest_mapfiles%2Ftest_40z_main.
> html&....
>
> and
>
> http://....&map_web_template=%2Fhome%2Fmsapps%2Ftest_mapfiles%2Ftest_4
>
> 0z_main.html&....
>
> but neither will replace the template defined in the mapfile.
>
> Can anyone verify this works or doesn't work on mapserver 4.0? so I
> can write a bug if appropriate.
>
> Thanks,
> Steve W.
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list