[Tilecache] Pre-packaged examples fail
Christopher Schmidt
crschmidt at metacarta.com
Fri May 9 13:50:05 EDT 2008
On Fri, May 09, 2008 at 10:02:38AM -0700, youknowho wrote:
>
> I've extracted TileCache to /var/www/cgi-bin/tilecache-2.01, left
> tilecache.cfg as is with:
> [cache]
> type=Disk
> base=/tmp/tilecache
>
> and added the following to Apache's httpd.conf:
> <Directory /var/www/cgi-bin/tilecache-2.01>
> AddHandler cgi-script .cgi
> Options +ExecCGI
> </Directory>
>
> The two examples provided in the README result in Premature end of script
> headers: tilecache.cgi errors.
Check the Apache error log. It may be helpful.
> So I changed /tmp/tilecache to be owned by me, in my group, with 777
> permissions. I also tried using a directory within the tilecache-2.01
> directory for the cached data. I also changed the first line of
> tilecache.cgi to !#/usr/bin/python as it had !#/usr/bin/env python.
Do you have Python installed? Does "which python" give /usr/bin/python?
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list