[Tilecache] location of tilecache.cfg
Schuyler Erle
sderle at metacarta.com
Mon Mar 26 16:59:30 EDT 2007
* On 25-Mar-2007 at 6:40AM EST, Christopher Schmidt said:
> 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)
>
> to:
>
> svc = Service.load("/location/of/tilecache.cfg")
>
> You can load it from somewhere else.
Actually, what I would do is add file paths to the cfgfiles array.
SDE
More information about the Tilecache
mailing list