<div dir="ltr"><div>Hi,<br><br></div><div><span style="font-family:arial,helvetica,sans-serif"><code><span style="font-family:arial,helvetica,sans-serif">I have hadded 'localhost:8080' to the proxy.cgi and now it works. (Earlier I only had 'localhost' in it).</span><br>
<br></code></span></div><div><span style="font-family:arial,helvetica,sans-serif"><code><span style="font-family:arial,helvetica,sans-serif">Thanks,</span><br></code></span></div><div><code><span style="font-family:arial,helvetica,sans-serif">Nipuni</span><br>
</code></div><code></code><code>        </code></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 2:25 AM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div dir="ltr"><br>
      <br>
      <pre><div class="im"><code>>Status: 502 Bad Gateway
</code><code>>Content-Type: text/plain
</code></div><code><div class="im">>This proxy does not allow you to access that location (<a href="http://api.flickr.com" target="_blank">api.flickr.com</a></div>).

If you look at the logic for the proxy, you will see that this is what you get for not having <a href="http://api.flickr.com" target="_blank">api.flickr.com</a> in your
allowedHosts. Make sure port also matches. Check for spelling etc. Log the incoming URL if possible and compare with allowedHosts

</code></pre><span class="HOEnZb"><font color="#888888">
      <br>
    </font></span></div><span class="HOEnZb"><font color="#888888">
    <br>
    <div>-- <br>
      Phil Scadden, Senior Scientist
      GNS Science Ltd
      764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
      Ph <a href="tel:%2B64%203%204799663" value="+6434799663" target="_blank">+64 3 4799663</a>, fax <a href="tel:%2B64%203%20477%205232" value="+6434775232" target="_blank">+64 3 477 5232</a></div></font></span><div class="im">

  <div>
<div style="border-top:solid 1px black;border-bottom:solid 1px black;padding:10px 0;margin:20px 0;font-size:8pt;font-family:Verdana,Arial,Helvetica,sans-serif">Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
</div>
</div>

</div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><span>Nipuni Piyabasi Perera</span></div><span>Undergraduate</span><div>Department of Computer Science And Engineering</div><div>University of Moratuwa<div>Sri Lanka</div>
</div>
</div>