<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<pre>I've found a very ugly hack, I'm using 2 mapfiles, one for PC256 and one for RGBA.<br>In the tilecache.cfg, the extension parameter is 'PNG' for both and I change the URL depending on the layer.<br><br>Regards,<br></pre><br>Tchule.<br> <br /><hr />Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! <a href='http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews' target='_new'>Try now!</a></body>
</html>