[OpenLayers-Dev] tilecahe-1.3 problem

YuGo yu.gotou at gtec-ni.com
Thu Dec 14 02:31:53 EST 2006


Hi everyone,

I tried to set up tilecahe-1.3 via mod_python on Fedora Core 5.
when I accessed 'http://localhost/tilecache/tilecache.py', return error
  message.
---------------------------------------------------------------------------
Mod_python error: "PythonHandler tilecache"
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
291, in HandlerDispatch
    arg=req, silent=hlist.silent)
  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
531, in resolve_object
    raise AttributeError, s
AttributeError: module '/var/www/html/tilecache/tilecache.py' contains
no 'handler'
-----------------------------------------------------------------------------


I wrote httpd.conf(apache) follows.
-----------------------------------------------------------------------------
LoadModule python_module modules/mod_python.so

<Directory "/var/www/html/tilecache">
      AddHandler python-program .py
      PythonHandler tilecache
      PythonDebug On
 </Directory>
-----------------------------------------------------------------------------

How to avoid this errors?







More information about the Dev mailing list