Hi 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. http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\workshop\itasca.map. I wonder if anyone has had success with rewrite rules (IIS7)?
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 http://tile.openstreetmap.org/ The XML is <GDAL_WMS> <Service name="TMS"> <ServerUrl>http://tile.openstreetmap.org/${z}/${x}/${y}.png</ServerUrl> </Service> <DataWindow> <UpperLeftX>-20037508.34</UpperLeftX> <UpperLeftY>20037508.34</UpperLeftY> <LowerRightX>20037508.34</LowerRightX> <LowerRightY>-20037508.34</LowerRightY> <TileLevel>19</TileLevel> <TileCountX>1</TileCountX> <TileCountY>1</TileCountY> <YOrigin>top</YOrigin> </DataWindow> <Projection>EPSG:900913</Projection> <BlockSizeX>256</BlockSizeX> <BlockSizeY>256</BlockSizeY> <BandsCount>3</BandsCount> <Cache/> </GDAL_WMS> 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! Many thanks in advance Chris
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users