<div dir="ltr">Yes I can, in browser <a href="http://localhost/tilecache/" target="_blank">http://localhost/tilecache/</a> (it is empty) and I can create files manually in this folder (with nautilus). :/ <br><br><div class="gmail_quote">
2011/6/15 <span dir="ltr"><<a href="mailto:manel.clos@ajgirona.cat">manel.clos@ajgirona.cat</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">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></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" align="left">
<hr>
<font face="Tahoma" size="2"><b>De:</b> <a href="mailto:tilecache-bounces@lists.osgeo.org" target="_blank">tilecache-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:tilecache-bounces@lists.osgeo.org" target="_blank">tilecache-bounces@lists.osgeo.org</a>] <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> <a href="mailto:tilecache@lists.osgeo.org" target="_blank">tilecache@lists.osgeo.org</a><br><b>Asunto:</b> [Tilecache]
cgi problem<br></font><br></div><div><div></div><div class="h5">
<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></div></div></blockquote></div>
</blockquote></div><br></div>