Permissions are:<br>drwxrwxr-x root geo cgi-bin<br>drwxr-xr-x me geo tilecache-2.01<br>-rwxr-xr-x me geo tilecache.cgi<br><br>If I go to the tilecache.cgi without specifying the rest of the example it appears to be functional:<br>
"This XML file does not appear to have any style information associated with it. The document tree is shown below." <br><Services><br> <TileMapService version="1.0.0" href="<a href="http://host/cgi-bin/tilecache-2.01/tilecache.cgi/1.0.0/">http://host/cgi-bin/tilecache-2.01/tilecache.cgi/1.0.0/</a>"/><br>
</Services><br><br>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:<br>
[Fri May 09 14:34:35 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)<br>[Fri May 09 14:34:35 2008] [notice] Digest: generating secret for digest authentication ...<br>[Fri May 09 14:34:35 2008] [notice] Digest: done<br>
[Fri May 09 14:34:35 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK<br>[Fri May 09 14:34:35 2008] [notice] LDAP: SSL support unavailable<br>[Fri May 09 14:34:35 2008] [notice] FastCGI: process manager initialized (pid)<br>
[Fri May 09 14:34:35 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.<br>[Fri May 09 14:34:36 2008] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations<br>
[Fri May 09 14:39:26 2008] [error] [client] Premature end of script headers: tilecache.cgi<br>[Fri May 09 14:39:30 2008] [error] [client] Premature end of script headers: tilecache.cgi<br><br>I did notice that mod_python is running so I edited httpd.conf to use the mod_python example:<br>
<Directory /var/www/cgi-bin/tilecache-2.01><br> AddHandler python-program .py<br> PythonHandler TileCache.Service<br> PythonOption TileCacheConfig /var/www/cgi-bin/tilecache-2.01/tilecache.cfg<br></Directory><br>
However I still get the 500 Internal Server Error after a few minutes of waiting for the host to reply.<br>Any help is much appreciated. Thank you.<br>