[Tilecache] mod_python and multiple services issue

Frédéric Junod frederic.junod at camptocamp.com
Tue Jun 3 04:37:19 EDT 2008


Hi,

I've a Tilecache service configured with mod_python with the following apache
configuration:

<Location /A>
  SetHandler python-program
  PythonHandler TileCache.Service
  PythonOption TileCacheConfig /etc/tilecache.A.cfg
</Location>

<Location /B>
  SetHandler python-program
  PythonHandler TileCache.Service
  PythonOption TileCacheConfig /etc/tilecache.B.cfg
</Location>

In Service.py (function handler), theService global variable is the same for
the two locations (/A and /B) because no test is made to check if
"TileCacheConfig" file is different.

Regards

-- 
Frédéric Junod
Camptocamp SA



More information about the Tilecache mailing list