When you go to <a href="http://yoursite/tc-folder/tilecache.cgi/1.0.0/">http://yoursite/tc-folder/tilecache.cgi/1.0.0/</a> do you get a list of layers, and if so, is only the basic layer showing?<div><br></div><div>One thought: be sure you know your tilecache is reading the tilecache.cfg you think it is ... for example, if you have one hiding in /etc then that is the one that is getting read, and not the one in your /var/www/html/tilecache folder. You could try, for example, renaming this cfg file and seeing if tilecache still runs -- if so, then it is reading from somewhere else (eg a cfg file that has only the basic layer defined)</div>
<div><br></div><div><div><br></div><div> -Josh<br>
<br><br><div class="gmail_quote">On Sun, Mar 8, 2009 at 10:24 PM, floflo <span dir="ltr"><<a href="mailto:florent.gravin@bluecham.net">florent.gravin@bluecham.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
i installed tilecache-2.10 and keep having the same problem<br>
there is no error in my apache error.log...<br>
<br>
still only 'basic' layer works... so i need to have only one layer, called<br>
basic if i want to run tilecache...<br>
<br>
thks for help if any idea<br>
<br>
<br>
<br>
Frédéric Junod wrote:<br>
><br>
> Hi,<br>
><br>
> Do you have any error in the apache error log ?<br>
><br>
> btw you should try to use the new stable release:<br>
> <a href="http://tilecache.org/tilecache-2.10.tar.gz" target="_blank">http://tilecache.org/tilecache-2.10.tar.gz</a><br>
><br>
> fredj<br>
><br>
> Le Mon, 9 Feb 2009 18:38:35 -0800 (PST),<br>
> floflo <<a href="mailto:florent.gravin@bluecham.net">florent.gravin@bluecham.net</a>> a écrit :<br>
>><br>
>> Hi,<br>
>><br>
>> i installed tilecache-1.9 in /var/www/html/ directory of my CentOS<br>
>> distrib.<br>
>> configured the /etc/httpd/conf/httpd.conf to add cgi execution of<br>
>> tilecache.cgi with the lines :<br>
>> <Directory /var/www/html/tilecache-1.9><br>
>> AddHandler cgi-script .cgi<br>
>> Options +ExecCGI<br>
>> </Directory><br>
>><br>
>> localhost/tilecache-1.9/index.html works with the metacarta wms layer.<br>
>> but when i add new entries in the tilecache.cfg, it doesn't work.<br>
>><br>
>> for exemple :<br>
>> [aepSpot]<br>
>> type=WMSLayer<br>
>> layers=toto:PXS<br>
>> url=<a href="http://172.31.172.244:8080/wms" target="_blank">http://172.31.172.244:8080/wms</a>?<br>
>> extension=png<br>
>><br>
>> and i call in the index.html:<br>
>> layer = new OpenLayers.layer.WMS("spot",<br>
>> "<a href="http://172.31.172.244/tilecache.1.9/tilecache.cgi" target="_blank">http://172.31.172.244/tilecache.1.9/tilecache.cgi</a>?", {layers:<br>
>> 'aepSpot'});<br>
>><br>
>> it gives me only pink tiles...<br>
>> if i change the layer name aepSpot to 'basic' in the tilecache.cfg and<br>
>> index.html, it works with the wms i configured...<br>
>><br>
>> why does my tilecache only reconize the name 'basic' for my layers... i<br>
>> cannot add others layers...<br>
>><br>
>> other trouble : index.html works on localhost... but when i call the same<br>
>> openlayers code from remote machine, i also have pink tiles....<br>
>><br>
>><br>
>> many troubles, if you could help me<br>
>><br>
>> thks<br>
>><br>
><br>
><br>
> --<br>
> Frédéric Junod<br>
> Camptocamp SA<br>
> _______________________________________________<br>
> Tilecache mailing list<br>
> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
><br>
><br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/only-%27basic%27-layers-works-tp2300667p2447577.html" target="_blank">http://n2.nabble.com/only-%27basic%27-layers-works-tp2300667p2447577.html</a><br>
Sent from the TileCache mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</font></blockquote></div><br></div></div>