[Mapserver-users] web_map_template / mapserv4

Palle Due Larsen palle at mail-online.dk
Wed Oct 22 07:52:21 PDT 2003


Have you set the TEMPLATEPATTERN parameter in the mapfile? This is new
to mapserver 4 and controls what templates you are allowed to use in the
url.

Best regards

Palle Due Larsen
Carl Bro GIS&IT

-----Original Message-----
From: "robert fritz" <robert-fritz at web.de>
To: mapserver-users at lists.gis.umn.edu
Date: Wed, 22 Oct 2003 15:37:37 +0200
Subject: [Mapserver-users] web_map_template / mapserv4

> <html><base href="https://freemail.web.de/"/><style>p {margin:
> 0px}</style><body style='font-size:9pt; font-family:Verdana;
> font-family: Verdana' ><P class=MsoNormal style="MARGIN: 0cm 0cm
> 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
> size=3><FONT face="Times New Roman">Hello,<?xml:namespace prefix = o
> ns = "urn:schemas-microsoft-com:office:office"
> /><o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">I change the main map template using the url
> (web_map_template):</FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">http://192.168.20.30/scripts/mapserv.exe?mode=browse&…
> &map_web_template=D%3A%5Cdemo%5Csub%5Cdemo%5Chtml%5Cprint.html&am
> p;program=%2Fscripts%2Fmapserv.exe&layer=1&<o:p></o:p></FONT>
> </FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm
> 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
> size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">It works fine on Mapserv 366 /
> Win2000.<o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">It does not work using the new Mapserv4 /
> Win2000:<o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">http://localhost/scripts/mapserv4.exe?mode=browse&…
> &map_web_template=D%3A%5Cdemo%5Csub%5Cdemo%5Chtml%5Cprint.html&am
> p;program=%2Fscripts%2Fmapserv4.exe&layer=1<o:p></o:p></FONT></FO
> NT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
> lang=EN-GB style="mso-ansi-language: EN-GB"><FONT size=3><FONT
> face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P
> class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">I get the template from the map file, not the template from
> the url.<o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman">What's the problem?<o:p></o:p></FONT></FONT></SPAN></P><P
> class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
> style="mso-ansi-language: EN-GB"><FONT size=3><FONT face="Times New
> Roman"> </FONT></FONT></SPAN></P><P class=MsoNormal
> style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-an
> si-language: EN-GB"><FONT size=3><FONT face="Times New Roman">Thank
> you,</FONT></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm
> 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
> size=3><FONT face="Times New
> Roman">robert<o:p></o:p></FONT></FONT></SPAN></P></body></html>
> _____________________________________________________________________
> _________<br>Zwei Mal Platz 1 mit dem jeweils besten Testergebnis!
> WEB.DE FreeMail<br>und WEB.DE Club bei Stiftung Warentest! <A
> HREF="http://f.web.de/?mc=021183"><B>http://f.web.de/?mc=021183</B></
> A>
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

Få en gratis emailkonto her: www.mail-online.dk 
-----------------------------------------------
Deltag i en lille konkurrence på nettet, og
vind et gavekort på 50.000 kroner...
KLIK HER: www.nyhedsbasen.dk/konkurrence





More information about the MapServer-users mailing list