[Tilecache] location of tilecache.cfg

Eric Lemoine Eric.Lemoine at camptocamp.com
Sun Mar 25 08:25:06 EDT 2007


On 3/25/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> 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.
>
> Regards,

Thanks Christopher,


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Tilecache mailing list