<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=603071609-15062011><FONT color=#0000ff
size=2 face=Arial>It looks (403: Forbidden) Tilecache does not have permissions
to access the url you wrote in the configuration. Can you access that
url?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=603071609-15062011></SPAN> </DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=es class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De:</B> tilecache-bounces@lists.osgeo.org
[mailto:tilecache-bounces@lists.osgeo.org] <B>En nombre de </B>Balazs
Szabó<BR><B>Enviado el:</B> miércoles, 15 de junio de 2011
11:13<BR><B>Para:</B> tilecache@lists.osgeo.org<BR><B>Asunto:</B> [Tilecache]
cgi problem<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi List!<BR><BR>I installed tilecache on ubuntu with apache web
server (sudo apt-get install tilecache) , but when I hit this link <A
href="http://localhost/cgi-bin/tilecache.cgi/1.0.0/basic/0/0/0.png"
target=_blank>http://localhost/cgi-bin/tilecache.cgi/1.0.0/basic/0/0/0.png</A>
<BR><BR>I got the following error: <BR><PRE>An error occurred: HTTP Error 403: Forbidden
File "/usr/lib/pymodules/python2.7/TileCache/Service.py", line 343, in cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method, host )
File "/usr/lib/pymodules/python2.7/TileCache/Service.py", line 208, in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "/usr/lib/pymodules/python2.7/TileCache/Service.py", line 138, in renderTile
data = layer.render(tile, force=force)
File "/usr/lib/pymodules/python2.7/TileCache/Layer.py", line 444, in render
return self.renderTile(tile)
File "/usr/lib/pymodules/python2.7/TileCache/Layers/WMS.py", line 29, in renderTile
tile.data, response = wms.fetch()
File "/usr/lib/pymodules/python2.7/TileCache/Client.py", line 59, in fetch
response = self.client.open(urlrequest)
File "/usr/lib/python2.7/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
</PRE><BR><BR>I think, it can't create folder/files base=/var/tmp , but I dont
know why. If I change the base path in tilecache.cfg like this:
base=/home/inf-mapserver/terkepszerver/tilecache <BR>and give all permission
to all user (chmod -R 777 /home/inf-mapserver/terkepszerver/) is still
dont work... <BR><BR>The <A href="http://localhost/cgi-bin/tilecache.cgi"
target=_blank>http://localhost/cgi-bin/tilecache.cgi</A> link give back
the good xml.<BR><BR>I keep on digging, but maybe someone just knows whats
missing.<BR><BR>thanks in advance!
<BR><BR><BR>Balazs<BR></DIV></BLOCKQUOTE></BODY></HTML>