<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>I've tried to run
TileCache Config under Apache, using mod_wsgi, but I can't get it to read the
tilecacheconfig config.cfg file, I always get the "No section 'config'" even
when providing the full path to config.cfg. As it is running under Windows I've
tried both slash and double backslash.</FONT></SPAN></DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>Any help
appreciated!</FONT></SPAN></DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>Here is the file
provided to WSGIScriptAlias:</FONT></SPAN></DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>import os,
sys<BR>base_path, tail = os.path.split(__file__)<BR><SPAN
class=014343809-10112009><FONT face=Arial size=2># include tilecacheconfig in
path</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>if not base_path in
sys.path:<BR> sys.path.append(base_path)</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2><SPAN
class=014343809-10112009><FONT face=Arial size=2># include tilecache in
path</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2><SPAN
class=014343809-10112009></SPAN>base_path, tail =
os.path.split(base_path)<BR>base_path = os.path.join(base_path,
'tilecache_int')<BR>if not base_path in sys.path:<BR>
sys.path.append(base_path)</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>from server import
wsgiApp</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=014343809-10112009><FONT face=Arial size=2>application =
wsgiApp</FONT></SPAN></DIV></BODY></HTML>