[Tilecache] Pre-packaged examples fail

Ian iansgis at gmail.com
Fri May 9 18:21:05 EDT 2008


Permissions are:
drwxrwxr-x root geo  cgi-bin
drwxr-xr-x  me geo  tilecache-2.01
-rwxr-xr-x   me geo  tilecache.cgi

If I go to the tilecache.cgi without specifying the rest of the example it
appears to be functional:
"This XML file does not appear to have any style information associated with
it. The document tree is shown below."
<Services>
  <TileMapService version="1.0.0" href="
http://host/cgi-bin/tilecache-2.01/tilecache.cgi/1.0.0/"/>
</Services>

It's also interesting that the 500 Internal Server Errors I get take four
minutes to show, the browser just keeps waiting for a response from the
host. I restarted Apache as well, here is the error_log:
[Fri May 09 14:34:35 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri May 09 14:34:35 2008] [notice] Digest: generating secret for digest
authentication ...
[Fri May 09 14:34:35 2008] [notice] Digest: done
[Fri May 09 14:34:35 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Fri May 09 14:34:35 2008] [notice] LDAP: SSL support unavailable
[Fri May 09 14:34:35 2008] [notice] FastCGI: process manager initialized
(pid)
[Fri May 09 14:34:35 2008] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Fri May 09 14:34:36 2008] [notice] Apache/2.0.52 (Red Hat) configured --
resuming normal operations
[Fri May 09 14:39:26 2008] [error] [client] Premature end of script headers:
tilecache.cgi
[Fri May 09 14:39:30 2008] [error] [client] Premature end of script headers:
tilecache.cgi

I did notice that mod_python is running so I edited httpd.conf to use the
mod_python example:
<Directory /var/www/cgi-bin/tilecache-2.01>
    AddHandler python-program .py
    PythonHandler TileCache.Service
    PythonOption TileCacheConfig
/var/www/cgi-bin/tilecache-2.01/tilecache.cfg
</Directory>
However I still get the 500 Internal Server Error after a few minutes of
waiting for the host to reply.
Any help is much appreciated. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080509/beb1ec32/attachment.html


More information about the Tilecache mailing list