[Tilecache] Pre-packaged examples fail

youknowho iansgis at GMAIL.COM
Fri May 9 13:02:38 EDT 2008


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.

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. 

Still no luck. Python mapscript is not installed, does it need to be for the
included examples to work?
-- 
View this message in context: http://www.nabble.com/Pre-packaged-examples-fail-tp17139354p17139354.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list