ITeye博客

tilecache(win)

cjx186 · 2012-11-13 19:59 · gis · 非技术 · Markdown

LoadModule python_module modules/mod_python.so
在
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
    下加入
Alias /tilecache/ "C:/tilecache-2.01/"
<Directory "C:/tilecache-2.01/">
    AddHandler mod_python .py 
    AddHandler python-program .py
    PythonHandler TileCache.Service 
    PythonOption TileCacheConfig C:/tilecache-2.01/tilecache.cfg
    PythonDebug On
</Directory>

1.修改tilecache-2.01目录下tilecache.cgi第一行为"#!C:/Python24/python.exe –u",注意"-u"两个字符之间没有空格。 2.修改tilecache.cfg

[cache] type=DiskCache base=c:\tilecache\

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。