[Tilecache] only 'basic' layers works

floflo florent.gravin at bluecham.net
Mon Feb 9 21:38:35 EST 2009


Hi,

i installed tilecache-1.9 in /var/www/html/ directory of my CentOS distrib.
configured the /etc/httpd/conf/httpd.conf to add cgi execution of
tilecache.cgi with the lines : 
<Directory /var/www/html/tilecache-1.9>
	AddHandler cgi-script .cgi
	Options +ExecCGI
</Directory>

localhost/tilecache-1.9/index.html works with the metacarta wms layer.
but when i add new entries in the tilecache.cfg, it doesn't work.

for exemple :
[aepSpot]
type=WMSLayer
layers=toto:PXS
url=http://172.31.172.244:8080/wms?
extension=png

and i call in the index.html:
layer = new OpenLayers.layer.WMS("spot",
"http://172.31.172.244/tilecache.1.9/tilecache.cgi?", {layers: 'aepSpot'});

it gives me only pink tiles...
if i change the layer name aepSpot to 'basic' in the tilecache.cfg and
index.html, it works with the wms i configured...

why does my tilecache only reconize the name 'basic' for my layers... i
cannot add others layers...

other trouble : index.html works on localhost... but when i call the same
openlayers code from remote machine, i also have pink tiles....


many troubles, if you could help me

thks

-- 
View this message in context: http://n2.nabble.com/only-%27basic%27-layers-works-tp2300667p2300667.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list