[Tilecache] error with iis...

Christopher Schmidt crschmidt at metacarta.com
Wed Mar 14 18:52:27 EDT 2007


On Wed, Mar 14, 2007 at 03:40:58PM -0600, John Cole wrote:
> I'm trying to get tilecache running with IIS and I'm getting the following
> error:
> 
> An error occurred: 'tilecache.cgi'
>   File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 459, in
> cgiHandler
>     format, image = service.dispatchRequest( params, path_info, host )
>   File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 384, in
> dispatchRequest
>     tile = TMS(self).parse(params, path_info, host)
>   File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 244, in parse
>     layer = self.service.layers[parts[1]]
> 
> Have I missed something?  It's working from the standalone server.

TMS uses path_info. IIS doesn't support path_info (They claim it's a 'security
risk'). I recommend using a WMS layer if you can. If you can't, I
don't have a workaround. (Glad to hear any solutions from people who
know IIS -- I don't have IIS around to test.) 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list