<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>

Here is my index.html file.<br> <br>!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br><html><br><head><br><title>Mark Mirrlees Assignment 4</title><br><body><br><center><br><img src="/wwwroot/M_Mirrlees_Assign4\bos.gif" width="150" height="100"><br></head><br></body><br></html><br><Center><br><BR><br>   <form method=GET action="/cgi-bin/mapserv.exe"><br>      <INPUT type="hidden" name="map" value="/wwwroot/M_Mirrlees_Assign4/global.map"><br>   <INPUT type="hidden" name="layer" value="provinces"><br>   <INPUT type="hidden" name="layer" value="states"><br>   <INPUT type="hidden" name="layer" value="cancity"><br>   <INPUT type="hidden" name="layer" value="usacity">     <br>   <INPUT type="hidden" name="zoomdir" value=1><br>   <INPUT type="hidden" name="zoomsize" value=2><br>   <INPUT type="hidden" name="program" value="/cgi-bin/mapserv.exe"><br>   <INPUT type="submit" value="Launch the Map"/><br>   </form><br><CENTER><br><div><div dir="ltr"><div>
 <br></div><a href="http://localhost/maps/M_Mirrlees_Assign4/" target="_blank">http://localhost/maps/M_Mirrlees_Assign4/</a> is what I type in my internet browser to launch my map.<br> <br>Thanks,<br>Mark<br> <br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: wal3@mindspring.com<br>To: mmirrlees@hotmail.com; mapserver-users@lists.osgeo.org<br>Subject: RE: [mapserver-users] adding gifs to index.html file?<br>Date: Thu, 4 Apr 2013 20:11:55 -0400<br><br>





<style><!--
.ExternalClass .ecxshape {
}


--></style>

<title>MapServer Message</title>
<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:blue;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass p.ecxmsonormal, .ExternalClass li.ecxmsonormal, .ExternalClass div.ecxmsonormal {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass p.ecxmsochpdefault, .ExternalClass li.ecxmsochpdefault, .ExternalClass div.ecxmsochpdefault {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass p.ecxmsonormal1, .ExternalClass li.ecxmsonormal1, .ExternalClass div.ecxmsonormal1 {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass p.ecxmsochpdefault1, .ExternalClass li.ecxmsochpdefault1, .ExternalClass div.ecxmsochpdefault1 {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass p.ecxmsonormal2, .ExternalClass li.ecxmsonormal2, .ExternalClass div.ecxmsonormal2 {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass span.ecxmsohyperlink2 {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxmsohyperlinkfollowed2 {
color:blue;
text-decoration:underline;
}

.ExternalClass p.ecxmsochpdefault2, .ExternalClass li.ecxmsochpdefault2, .ExternalClass div.ecxmsochpdefault2 {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass p.ecxmsonormal11, .ExternalClass li.ecxmsonormal11, .ExternalClass div.ecxmsonormal11 {
font-size:12.0pt;
font-family:"Times New Roman";
}

.ExternalClass span.ecxmsohyperlink11 {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxmsohyperlinkfollowed11 {
color:purple;
text-decoration:underline;
}

.ExternalClass span.ecxshkpostityyli1811 {
font-family:Calibri;
color:#1F497D;
}

.ExternalClass p.ecxmsochpdefault11, .ExternalClass li.ecxmsochpdefault11, .ExternalClass div.ecxmsochpdefault11 {
font-size:10.0pt;
font-family:"Times New Roman";
}

.ExternalClass span.ecxemailstyle281 {
font-family:Arial;
color:blue;
font-weight:normal;
font-style:normal;
}

.ExternalClass span.ecxEmailStyle38 {
font-family:Arial;
color:blue;
font-weight:normal;
font-style:normal;
}

.ExternalClass div.ecxSection1 {
}


--></style>





<div class="ecxSection1">

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;">Post the whole index.html here and give me
what you are putting into your browser to show the index.html</span></font><BR>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;">Worth</span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font></p>

<div>

<div align="center" class="ecxMsoNormal" style="text-align: center;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr width="100%" size="2" tabindex="-1" align="center">

</span></font></div>

<p class="ecxMsoNormal"><b><font face="Tahoma" size="2"><span style="font-family: Tahoma; font-size: 10pt; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-family: Tahoma; font-size: 10pt;"> Mark Mirrlees
[mailto:mmirrlees@hotmail.com] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 04, 2013
8:02 PM<br>
<b><span style="font-weight: bold;">To:</span></b> Worth Lutz;
mapserver-users@lists.osgeo.org<br>
<b><span style="font-weight: bold;">Subject:</span></b> RE: [mapserver-users]
adding gifs to index.html file?</span></font></p>

</div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">Ok so I've tried both ways and
they both output another box. However this time with an X in the corner.
See attached. <br>
 <br>
Thanks,<br>
Mark<br>
<br>
</span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"> </span></font></p>

</div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"><br>
 </span></font></p>

<div>

<div align="center" class="ecxMsoNormal" style="text-align: center;"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">

<hr width="100%" size="2" align="center" id="ecxstopSpelling">

</span></font></div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">From: wal3@mindspring.com<br>
To: mmirrlees@hotmail.com; mapserver-users@lists.osgeo.org<br>
Subject: RE: [mapserver-users] adding gifs to index.html file?<br>
Date: Thu, 4 Apr 2013 19:52:56 -0400</span></font></p>

<div>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;">Try:</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"><img src="/wwwroot/M_Mirrlees_Assign4\bos.gif"
width="150" height="100"></span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;">Or if “wwwroot” really is the web root:</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"><img src="/M_Mirrlees_Assign4\bos.gif"
width="150" height="100"></span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="blue" face="Arial" size="3"><span style="color: blue; font-family: Arial; font-size: 12pt;">Worth Lutz</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<div>

<div align="center" class="ecxMsoNormal" style="text-align: center;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr width="100%" size="2" tabindex="-1" align="center">

</span></font></div>

<p class="ecxMsoNormal"><b><font face="Tahoma" size="2"><span style="font-family: Tahoma; font-size: 10pt; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-family: Tahoma; font-size: 10pt;">
mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b><span style="font-weight: bold;">On Behalf Of </span></b>Mark Mirrlees<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 04, 2013
7:17 PM<br>
<b><span style="font-weight: bold;">To:</span></b> Rahkonen Jukka;
mapserver-users@lists.osgeo.org<br>
<b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] adding
gifs to index.html file?</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

</div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">Hi there,<br>
 <br>
Ok I figured that part out! Thanks! Your a lifesaver! I have one other question
I'm trying to add images (gif files) to my index.html file.<br>
 <br>
When I place this code into my html file it neglects to show the image...<br>
 <br>
<img src="file:/wwwroot/M_Mirrlees_Assign4\bos.gif" width="150"
height="100"><br>
<br>
It shows a white box with a black like square in the corner (see image)...not
sure what i'm missing...any ideas?<br>
 <br>
Thanks,<br>
Mark</span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"> </span></font></p>

</div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"><br>
 </span></font></p>

<div>

<div align="center" class="ecxMsoNormal" style="text-align: center;"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">

<hr width="100%" size="2" align="center" id="ecxstopSpelling">

</span></font></div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">From: jukka.rahkonen@mmmtike.fi<br>
To: mapserver-users@lists.osgeo.org<br>
Date: Thu, 4 Apr 2013 07:55:41 +0000<br>
Subject: Re: [mapserver-users] output issues (malformed template name)</span></font></p>

<div>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">Hi,</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">The immediate reason
for the error  is that you do not have a referred template file in your
system</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">TEMPLATE
'fooOnlyForWMSGetFeatureInfo'</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">For correcting this
error you must change TEMPLATE to refer to something that exists. The template
file must contain at least the magic string ‘mapserver template’ in the first
line of the template <a href="http://www.mapserver.org/mapfile/template.html" target="_blank">http://www.mapserver.org/mapfile/template.html</a></span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">However, I have a
feeling that this will not be enough for making your application to launch. If
this happens, please tell a bit more about your application, how it works and
what happens when you press the launch button.  And absolutely add</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">CONFIG
"MS_ERRORFILE" "c:\good_errorfile_path_for_you.txt” and</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">DEBUG 5 into your
mapfile.  This way you will get much valuable information into the
errorfile. Comment out the DEBUG line once everything works perfectly for you.</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">The PyQgis MapServer
Export plugin should really be fixed. At least it should write the
“wms_enable_request” metadata item. Now it does not and no mapfile created with
QGis will work for WMS without editing. Plugin is also using the deprecated
TRANSPARENCY and I  would rather see PROJECTION blocks to use
"init=epsg:xxxx" but that  may not be so important.  I am
not sure it the plugin writes always SYMBOLSET
"/wwwroot/symbols/symbols.sty" and uses SYMBOL "circle" in
some type of classes but if it does it can also lead to not working
mapfiles.  Is there anything else to complain? I can make a QGis feature
request once I have collected the most important things to correct and checked
that they have not been corrected already.</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;">-Jukka Rahkonen-</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<p class="ecxMsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb(31, 73, 125); font-family: Calibri; font-size: 11pt;"> </span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: currentColor currentColor currentColor blue; padding: 0in 0in 0in 4pt;">

<div>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: currentColor; padding: 3pt 0in 0in;">

<p class="ecxMsoNormal"><font face="Tahoma" size="2"><span style="font-family: Tahoma; font-size: 10pt;">Mark Mirrlees wrote:</span></font><font face="Calibri"><span style="font-family: Calibri;"></span></font></p>

</div>

</div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"> </span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">Hello everyone,<br>
 <br>
I am trying to create a new map and it is causing me some output issues.<br>
 <br>
When I click my launch button to start the application it comes up with this
message<br>
 <br>
Content-type: text/html msReturnPage(): Web application error. Malformed
template name (fooOnlyForWMSGetFeatureInfo). <br>
 <br>
I have attached my mapfile and I do apologize for the length of it.<br>
 <br>
I'm not sure what's wrong in the map file! Any help would be greatly
appreciated!<br>
<br>
Thanks,<br>
Mark<br>
            </span></font></p>

</div>

</div>

</div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;"><br>
_______________________________________________ mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users</span></font></p>

</div>

</div>

<div align="center" class="ecxMsoNormal" style="text-align: center;"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">

<hr width="100%" size="1" align="center" color="#aca899" noshade="">

</span></font></div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">No virus found in this message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
Version: 2013.0.3267 / Virus Database: 3162/6224 - Release Date: 04/04/13</span></font></p>

</div>

</div>

</div>

<div align="center" class="ecxMsoNormal" style="text-align: center;"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">

<hr width="100%" size="1" align="center" color="#aca899" noshade="">

</span></font></div>

<p class="ecxMsoNormal"><font face="Calibri" size="3"><span style="font-family: Calibri; font-size: 12pt;">No virus found in this message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
Version: 2013.0.3267 / Virus Database: 3162/6224 - Release Date: 04/04/13</span></font></p>

</div></div>                                          </div></div>                                        </div></body>
</html>