[Tilecache] location of tilecache.cfg

Christopher Schmidt crschmidt at metacarta.com
Sun Mar 25 07:40:10 EDT 2007

On Sun, Mar 25, 2007 at 12:25:08PM +0200, Eric Lemoine wrote:
> Hi
> FWIU from TileCache code tilecache.cfg must be either in the same dir
> as tilecache.cgi or in the tilecache.cgi's parent dir, and there's
> currently no way to have the tilecache.cfg in some other location. Can
> someone confirm this?

For the CGI, with no changes to the code, this is true. If you change:

    svc = Service.load(*cfgfiles)


    svc = Service.load("/location/of/tilecache.cfg")
You can load it from somewhere else.

Christopher Schmidt

More information about the Tilecache mailing list