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">&lt;<a href="mailto:florent.gravin@bluecham.net">florent.gravin@bluecham.net</a>&gt;</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 &#39;basic&#39; 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>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Do you have any error in the apache error log ?<br>
&gt;<br>
&gt; btw you should try to use the new stable release:<br>
&gt;   <a href="http://tilecache.org/tilecache-2.10.tar.gz" target="_blank">http://tilecache.org/tilecache-2.10.tar.gz</a><br>
&gt;<br>
&gt; fredj<br>
&gt;<br>
&gt; Le Mon, 9 Feb 2009 18:38:35 -0800 (PST),<br>
&gt; floflo &lt;<a href="mailto:florent.gravin@bluecham.net">florent.gravin@bluecham.net</a>&gt; a écrit :<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; i installed tilecache-1.9 in /var/www/html/ directory of my CentOS<br>
&gt;&gt; distrib.<br>
&gt;&gt; configured the /etc/httpd/conf/httpd.conf to add cgi execution of<br>
&gt;&gt; tilecache.cgi with the lines :<br>
&gt;&gt; &lt;Directory /var/www/html/tilecache-1.9&gt;<br>
&gt;&gt;      AddHandler cgi-script .cgi<br>
&gt;&gt;      Options +ExecCGI<br>
&gt;&gt; &lt;/Directory&gt;<br>
&gt;&gt;<br>
&gt;&gt; localhost/tilecache-1.9/index.html works with the metacarta wms layer.<br>
&gt;&gt; but when i add new entries in the tilecache.cfg, it doesn&#39;t work.<br>
&gt;&gt;<br>
&gt;&gt; for exemple :<br>
&gt;&gt; [aepSpot]<br>
&gt;&gt; type=WMSLayer<br>
&gt;&gt; layers=toto:PXS<br>
&gt;&gt; url=<a href="http://172.31.172.244:8080/wms" target="_blank">http://172.31.172.244:8080/wms</a>?<br>
&gt;&gt; extension=png<br>
&gt;&gt;<br>
&gt;&gt; and i call in the index.html:<br>
&gt;&gt; layer = new OpenLayers.layer.WMS(&quot;spot&quot;,<br>
&gt;&gt; &quot;<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>?&quot;, {layers:<br>
&gt;&gt; &#39;aepSpot&#39;});<br>
&gt;&gt;<br>
&gt;&gt; it gives me only pink tiles...<br>
&gt;&gt; if i change the layer name aepSpot to &#39;basic&#39; in the tilecache.cfg and<br>
&gt;&gt; index.html, it works with the wms i configured...<br>
&gt;&gt;<br>
&gt;&gt; why does my tilecache only reconize the name &#39;basic&#39; for my layers... i<br>
&gt;&gt; cannot add others layers...<br>
&gt;&gt;<br>
&gt;&gt; other trouble : index.html works on localhost... but when i call the same<br>
&gt;&gt; openlayers code from remote machine, i also have pink tiles....<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; many troubles, if you could help me<br>
&gt;&gt;<br>
&gt;&gt; thks<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Frédéric Junod<br>
&gt; Camptocamp SA<br>
&gt; _______________________________________________<br>
&gt; Tilecache mailing list<br>
&gt; <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
&gt;<br>
&gt;<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>