<html>
<head>
</head>
<body style="margin-top: 4px; font-variant: normal; margin-right: 4px; margin-bottom: 1px; line-height: normal; margin-left: 4px">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">All,</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">Answering my own post . . . , more digging revealed the QUERYFORMAT directive in the WEB block of the mapfile. This combined with the removal of the "<?xml . . ." from the mapfile template, allows the same mapfile to work in both MapServer installs. I still need to add the QUERYFORMAT to those layers with XML popups, though. The old installation has a Mapfile prefix writer where this is easy to add, the newer install isn't as easy on windows . . .</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">Sorry to have distracted.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<br> <br>
<p style="margin-bottom: 0; margin-top: 0">
<br>
<br>
>>> "Bob Basques" <Bob.Basques@ci.stpaul.mn.us> wrote:<br> </p>
<table style="font-size: 1em; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 15px" bgcolor="#f3f3f3" border="0">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">All,</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">Ok, this one took me a while to track down.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">I have an installation where I have a common data source respository and I'm trying to set up a environment where an older Mapserv 4.9(something) linux (highly customized version) version and a 5.6.5 Windows 7 version are accessing this same repository.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">The first problem was the <!-- MapServer Temaplte --> magic string was missing, added that in, but it messes with the Mime type stuff, because our templates are for generating XML files, which need to have "<?xml . . ." up front instead of MapServer magic string.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">If I add the Magic string stuff as the second line, doesn't seem to affect the old installation of MapServer, but it breaks the new version which is expecting the Magic String up front.  I tried a couple of things in the new installation, like putting the Magic string on the same line as the XML declare, but that made the file come down from Apache as text/html instead of text/xml.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">Should/Could I be addessing this in the apache "magic" file and add something about "<!-- MapServer . . ." to the XML definition, seems wrong for some reason.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">This is my last piece to figure out for the new install . . .</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
<br>
</p>
</div>
</td>
</tr>
</table>
</body>
</html>