[Tilecache] Tilecache 2.04 issue with windows, mod_python

Fredrik Lundh fredrik at pythonware.com
Thu Jul 3 16:51:59 EDT 2008


> My old line was:
>        PythonHandler TileCache/Service
> It needs to be:
>        PythonHandler TileCache.Service
>  I seem to remember playing around with this a few times when I first
> installed tilecache.  I think this is the first line to check when going
> from tilecache 1.9 to tilecache 2.0

Going from mod_python 3.2 to mod_python 3.3, more likely.

According to the mod_python documentation, the handler should be
either a module (in dotted notation) or a filename. "TileCache/Server"
is neither (no extension), so chances are that your old configuration
relied on undocumented behaviour that was lost when the importer was
rewritten for 3.3.

According to the release notes, you can keep using the old importer by
adding this to your global Apache configuration:

    PythonOption mod_python.legacy.importer *

</F>



More information about the Tilecache mailing list