<div dir="ltr">Hello,<div>I'm trying to define a layer where the Sqlite DB connection should be set dynamically through runtime sustitution.</div><div><br></div><div>e.g.</div><div><br></div><div><div>LAYER</div><div>    NAME mylayer</div><div>    TYPE POINT</div><div>    CONNECTIONTYPE OGR</div><div>    VALIDATION</div><div>        "db" "[a-z]+"</div><div>    END</div><div>    CONNECTION "/var/www/dbs/%db%.sqlite"</div><div>    DATA "mytable"</div><div>END</div><div><br></div><div>The point layers works fine if  %db% is set statically but if I try to define it through get query values nothing is returned:</div><div><br></div><div><a href="http://localhost/cgi-bin/mapserv?map=mymapfile.map&db=mydb">http://localhost/cgi-bin/mapserv?map=mymapfile.map&db=mydb</a><br></div><div><br></div><div>The documentation says that runtime sustitution should work for CONNECTION param too. What am I doing wrong?</div><div><br></div><div>Thanks,</div><div>Giovanni</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a></div><div dir="ltr">Gis3W - <a href="http://gis3w.it" target="_blank">http://gis3w.it</a></div><div dir="ltr">Ikare - <a href="http://ikare.it" target="_blank">http://ikare.it</a><br><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div></div></div>
</div></div>