[OpenLayers-Users] ProxyHost problem

Andreas Hocevar ahocevar at opengeo.org
Mon Jun 4 11:51:57 PDT 2012


Hi,

image requests don't go through the proxy. Only AJAX requests. The
puropose of such a proxy is to circumvent the browser's Same Origin
Policy, which does not apply to loading images.

Andreas.

On Sat, Jun 2, 2012 at 6:12 AM, Stefan Simon <simon.stefan at gmail.com> wrote:
> Hello,
>
> I have set OpenLayers.ProxyHost = "proxy.php? Url =";
>
> but a closer look it is not used at all.
> the request is still on the old url layer, ie no proxy.
>
> May have to set proxy somewhere? or sufficient line of code above?
>
> thank you
> Stefan.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list