Thanks Andreas...<div><br></div><div>It is of the form of a list, like this?</div><div><br></div><div># yaml</div>whitelist:<br>    - url: <a href="http://tile.openstreetmap.org">tile.openstreetmap.org</a><br>    - url: <a href="http://anotherurl.com">anotherurl.com</a><div>
<br></div><div>Can you show me a sample?</div><div><br></div><div>Thanks!</div><div><br><div>2011/11/1 Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span></div><div>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>Hi, </p>
<p>you have to add <a href="http://tile.openstreetmap.org" target="_blank">tile.openstreetmap.org</a> to the whitelist in your config.yaml on the server. </p>
<p>Andreas. </p>
<div class="gmail_quote"><div><div></div><div class="h5">On Nov 1, 2011 11:44 AM, &quot;Marco Afonso&quot; &lt;<a href="mailto:mafonso333@gmail.com" target="_blank">mafonso333@gmail.com</a>&gt; wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hello all,<div><br></div><div>I&#39;m getting an error when trying to print my map having OSM as base layer:</div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><pre style="word-wrap:break-word;white-space:pre-wrap">
Error while generating PDF:
DocumentException: org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: <a href="http://tile.openstreetmap.org/" target="_blank">http://tile.openstreetmap.org/</a> (spec.layers[0].baseURL has an invalid value: <a href="http://tile.openstreetmap.org/" target="_blank">http://tile.openstreetmap.org/</a>)
        at org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java:64)
        at org.mapfish.print.map.readers.HTTPMapReader.&lt;init&gt;(HTTPMapReader.java:55)
        at org.mapfish.print.map.readers.TileableMapReader.&lt;init&gt;(TileableMapReader.java:40)
        at org.mapfish.print.map.readers.OsmMapReader.&lt;init&gt;(OsmMapReader.java:41)
        at org.mapfish.print.map.readers.OsmMapReader.create(OsmMapReader.java:78)
        at org.mapfish.print.map.readers.MapReader.create(MapReader.java:56)
        at org.mapfish.print.map.MapChunkDrawer.renderImpl(MapChunkDrawer.java:111)</pre><pre style="word-wrap:break-word;white-space:pre-wrap">...</pre><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre>
<font face="arial"><span style="font-size:small">The code is the same as in GeoExt Printing OSM example...</span></font></span></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small"><br>


</span></font></span></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small">I&#39;m using extjs 3.4, openlayers 2.11, geoserver 2.1.1 and openlayers 2.11</span></font></span></span></font></div>


<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small"><br>


</span></font></span></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small">Just an add... my code works with Metacarta WMS basic as in geoserver 2.11 printing demo.</span></font></span></span></font></div>


<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small"><br>


</span></font></span></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small">Thank you for your attention.</span></font></span></span></font></div>


<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:&#39;Times New Roman&#39;;font-size:medium"><font face="arial"><span style="font-size:small">Marco<br>


</span></font><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre></span></span></font></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
</blockquote></div><br></div></div>