[Tilecache] error with iis...

John Cole john.cole at uai.com
Sat Mar 17 11:03:55 EDT 2007


Hmmm... I thought I was using a WMSLayer.

Here is my config:

[gdt]
type=WMSLayer
url=http://kong.uai.int/cgi-bin/mapserv.exe?map=/mapserver/gdt/main.map&
extension=png
layers=bound,hydro,landmark,roads,landmark_point

While using metaTiles works with the standalone server, I had turned it off
when trying to get things working with IIS.

John

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: Wednesday, March 14, 2007 4:52 PM
To: John Cole
Cc: 'tilecache at openlayers.org'
Subject: Re: [Tilecache] error with iis...

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 3/13/2007
4:51 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.12/724 - Release Date: 3/16/2007
12:12 PM
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Tilecache mailing list