<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 &quot;/usr/lib/pymodules/python2.7/TileCache/Service.py&quot;, line 343, in cgiHandler
    format, image = service.dispatchRequest( params, path_info, req_method, host )
  File &quot;/usr/lib/pymodules/python2.7/TileCache/Service.py&quot;, line 208, in dispatchRequest
    return self.renderTile(tile, params.has_key(&#39;FORCE&#39;))
  File &quot;/usr/lib/pymodules/python2.7/TileCache/Service.py&quot;, line 138, in renderTile
    data = layer.render(tile, force=force)
  File &quot;/usr/lib/pymodules/python2.7/TileCache/Layer.py&quot;, line 444, in render
    return self.renderTile(tile)
  File &quot;/usr/lib/pymodules/python2.7/TileCache/Layers/WMS.py&quot;, line 29, in renderTile
    tile.data, response = wms.fetch()
  File &quot;/usr/lib/pymodules/python2.7/TileCache/Client.py&quot;, line 59, in fetch
    response = self.client.open(urlrequest)
  File &quot;/usr/lib/python2.7/urllib2.py&quot;, line 397, in open
    response = meth(req, response)
  File &quot;/usr/lib/python2.7/urllib2.py&quot;, line 510, in http_response
    &#39;http&#39;, request, response, code, msg, hdrs)
  File &quot;/usr/lib/python2.7/urllib2.py&quot;, line 435, in error
    return self._call_chain(*args)
  File &quot;/usr/lib/python2.7/urllib2.py&quot;, line 369, in _call_chain
    result = func(*args)
  File &quot;/usr/lib/python2.7/urllib2.py&quot;, line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
</pre><br><br>I think, it can&#39;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>