Hi<br><br>I just wanted to check if the only way to parse a mapfile in an IIS environment to use an absolute path to the mapfiles e.g. <a href="http://myserver/cgi-bin/mapserv.exe?map=C">http://myserver/cgi-bin/mapserv.exe?map=C</a>:\Inetpub\wwwroot\workshop\itasca.map.  I wonder if anyone has had success with rewrite rules (IIS7)?<br>
<br>Also how is GDAL triggered when calling the mapfile (in IIS).  The scenario is I am trying to use an xml in the mapfile layer which then calls <a href="http://tile.openstreetmap.org/">http://tile.openstreetmap.org/</a><br>
<br>The XML is<br><br>&lt;GDAL_WMS&gt;<br>&lt;Service name=&quot;TMS&quot;&gt;<br>&lt;ServerUrl&gt;<a href="http://tile.openstreetmap.org/${z}/${x}/${y}.png">http://tile.openstreetmap.org/${z}/${x}/${y}.png</a>&lt;/ServerUrl&gt;<br>
&lt;/Service&gt;<br>&lt;DataWindow&gt;<br>&lt;UpperLeftX&gt;-20037508.34&lt;/UpperLeftX&gt;<br>&lt;UpperLeftY&gt;20037508.34&lt;/UpperLeftY&gt;<br>&lt;LowerRightX&gt;20037508.34&lt;/LowerRightX&gt;<br>&lt;LowerRightY&gt;-20037508.34&lt;/LowerRightY&gt;<br>
&lt;TileLevel&gt;19&lt;/TileLevel&gt;<br>&lt;TileCountX&gt;1&lt;/TileCountX&gt;<br>&lt;TileCountY&gt;1&lt;/TileCountY&gt;<br>&lt;YOrigin&gt;top&lt;/YOrigin&gt;<br>&lt;/DataWindow&gt;<br>&lt;Projection&gt;EPSG:900913&lt;/Projection&gt;<br>
&lt;BlockSizeX&gt;256&lt;/BlockSizeX&gt;<br>&lt;BlockSizeY&gt;256&lt;/BlockSizeY&gt;<br>&lt;BandsCount&gt;3&lt;/BandsCount&gt;<br>&lt;Cache/&gt;<br>&lt;/GDAL_WMS&gt;<br><br>Am I remotely doing this the right way?  I am used to calling local data from the mapfile and tiled services is a bit of a new beast, so I thought I would give it a go!<br>
<br>Many thanks in advance<br><br>Chris<br>