[Tilecache] mod_python and multiple services issue
Frédéric Junod
frederic.junod at camptocamp.com
Tue Jun 3 05:12:54 EDT 2008
The attached patch seems to fix the problem.
fredj
Le Tue, 3 Jun 2008 10:37:19 +0200,
Frédéric Junod <frederic.junod at camptocamp.com> a écrit :
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tilecache-mod_python.patch
Type: text/x-patch
Size: 1412 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20080603/34dcef47/tilecache-mod_python.bin
More information about the Tilecache
mailing list