<div>I posted because I was successful! I am so psyched! I know...I'm a tree-hugging IIS lover...LOL!</div>
<div> </div>
<div>Linda Rawson<br><br> </div>
<div><span class="gmail_quote">On 10/15/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Mon, Oct 15, 2007 at 01:30:28AM -0700, Linda_Rawson wrote:<br>><br>> I just wanted to update this post. I have repeated the installation of
<br>> tilecache on IIS multiple times. Here are the steps that I took.<br><br>And it worked, or didn't work?<br><br>-- Chris<br><br>> 1. Download and install Python<br>> 2. * Follow "Using Python Scripts with IIS" to setup Python CGI for IIS.
<br>> <a href="http://support.microsoft.com/kb/276494">http://support.microsoft.com/kb/276494</a><br>> 3. Not only add .py to the ISAPI extensions but also .cgi. I added the<br>> following:<br>><br>> C:\Python25\python.exe -u "%s" "%s"
<br>> Limit to GET,HEAD,POST<br>><br>> 4. Add the EXACT same line to the web extensions and click allow. Be<br>> really careful if you decide to edit metabase.xml. I fried mine and had to<br>> rebuild it. Make a backup before you do anything with this file. You can
<br>> enter the right values without editing the file.<br>> 5. Change the base=C:\Inetpub\wwwroot\demo\tmp tag in the .cfg file.<br>><br>> Linda Rawson<br>><br>><br>> Linda_Rawson wrote:<br>> >
<br>> > Here ya go<br>> ><br>> > # Configuration for MC TileCache<br>> ><br>> > # [cache] section (mandatory!)<br>> ><br>> > # type=DiskCache (works out of the box)<br>> ><br>
> > # base=<full path to cache directory><br>> ><br>> > # *or*<br>> ><br>> > # type=MemoryCache (you'll need memcache.py and memcached running!)<br>> ><br>> > # servers=
<a href="http://192.168.1.1:11211">192.168.1.1:11211</a><br>> ><br>> > [cache]<br>> ><br>> > type=DiskCache<br>> ><br>> > base=C:\Inetpub\wwwroot\demo\tmp<br>> ><br>> > # [layername] -- all other sections are named layers
<br>> ><br>> > #<br>> ><br>> > # type={MapServerLayer,WMSLayer}<br>> ><br>> > # *** if you want to use MapServerLayer, you *must* have Python mapscript<br>> ><br>> > # installed and available ***
<br>> ><br>> > #<br>> ><br>> > # mapfile=<full path to map file> *** only applies to MapServerLayer ***<br>> ><br>> > # url=<full URL of WMS> *** only applies to WMSLayer ***
<br>> ><br>> > # layers=<layer>[,<layer2>,<layer3>,...]<br>> ><br>> > # *** optional iff layername if what<br>> ><br>> > # your data source calls the layer **<br>> >
<br>> > # extension={png,jpeg,gif} *** defaults to "png" ***<br>> ><br>> > # size=256,256 *** defaults to 256x256 ***<br>> ><br>> > # bbox=-180.0,-90.0,180.0,90.0 *** defaults to world in lon/lat ***
<br>> ><br>> > # srs=EPSG:4326 *** defaults to EPSG:4326 ***<br>> ><br>> > # levels=20 *** defaults to 20 zoom levels ***<br>> ><br>> > # resolutions=0.1,0.05,0.025,... *** defaults to global profile ***
<br>> ><br>> > # metaTile=true *** metatiling off by default<br>> ><br>> > # requires python-imaging ***<br>> ><br>> > # metaSize=5,5 *** size of metatile in tiles<br>> ><br>> > # defaults to 5 x 5 ***
<br>> ><br>> > # metaBuffer=10 *** size of metatile buffer in px ***<br>> ><br>> > #[vmap0]<br>> ><br>> > #type=MapServerLayer<br>> ><br>> > #layers=vmap0<br>> ><br>> > #mapfile=/var/www/vmap0.map
<br>> ><br>> > [basic]<br>> ><br>> > type=WMSLayer<br>> ><br>> > url=<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0</a><br>> ><br>> > extension=png
<br>> ><br>> > Linda<br>> > On 9/8/07, Christopher Schmidt <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:<br>> >><br>> >> On Sat, Sep 08, 2007 at 04:01:03PM -0600, Linda Rawson wrote:
<br>> >> > I don't have firefox. My customer wants only IE but I could download<br>> >> it<br>> >> I<br>> >> > guess.<br>> >><br>> >> Yeah, Firefox would only be useful for debugging -- once you get it
<br>> >> working it won't matter at all.<br>> >><br>> >> > Someone else suggested that I change it to tilecache.py and then try<br>> >> and<br>> >> run<br>> >> > it.
<br>> >> ><br>> >> > I got a little farther.<br>> >> ><br>> >> > Traceback (most recent call last):<br>> >> > File "C:\Inetpub\wwwroot\demo\tilecache-1.8.1\tilecache.py
", line 4,<br>> >> in<br>> >> > <module><br>> >> > svc = Service.load("C:\Inetpub\wwwroot\demo\tilecache-<br>> >> > 1.8.1\tilecache.cfg")<br>> >> > File "C:\Inetpub\wwwroot\demo\tilecache-
1.8.1\TileCache\Service.py",<br>> >> line<br>> >> > 346, in _load<br>> >> > cache = cls.loadFromSection(config, "cache", Cache)<br>> >> > File "C:\Inetpub\wwwroot\demo\tilecache-
1.8.1\TileCache\Service.py",<br>> >> line<br>> >> > 326, in _loadFromSection<br>> >> > type = config.get(section, "type")<br>> >> > File "C:\Python25\lib\ConfigParser.py", line 511, in get
<br>> >> > raise NoSectionError(section)<br>> >> > NoSectionError: No section: 'cache'<br>> >> ><br>> >> > Do these errors look familiar to you? I have a 'cache' section but it
<br>> >> > cannot find it.<br>> >><br>> >> Weird. Can you send a copy of your tilecache.cfg to the list? (Leaving<br>> >> just the basic layer in is fine -- the important part is to see if it
<br>> >> somehow got mangled.) It's possible that line endings could be a factor<br>> >> here: I haven't ever used Python on Windows, so I'm not sure.<br>> >><br>> >> Regards,
<br>> >> --<br>> >> Christopher Schmidt<br>> >> MetaCarta<br>> >><br>> ><br>> > _______________________________________________<br>> > Tilecache mailing list<br>> >
<a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>> > <a href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a><br>> ><br>> >
<br>><br>> --<br>> View this message in context: <a href="http://www.nabble.com/Help-with-installing-tilecache-on-IIS-tf4406860.html#a13208646">http://www.nabble.com/Help-with-installing-tilecache-on-IIS-tf4406860.html#a13208646
</a><br>> Sent from the TileCache mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>><br>> _______________________________________________<br>> Tilecache mailing list<br>> <a href="mailto:Tilecache@openlayers.org">
Tilecache@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a><br>><br><br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div>
<br>