[OpenLayers-Users] GeoServer Proxy Extension OpenLayers

Andreas Hocevar ahocevar at opengeo.org
Mon Nov 16 12:02:11 EST 2009


stash wrote:
>
> Andreas Hocevar-2 wrote:
>   
>>> No, this is because you have a missing (or incorrect)
>>> OpenLayers.ProxyHost setting in your example.
>>>
>>> In a script tag after you include OpenLayers.js in your example html
>>> page, add:
>>>
>>> OpenLayers.ProxyHost="/geoserver/rest/proxy";
>>>   
>>>       
>> The above should read
>>
>> OpenLayers.ProxyHost="/geoserver/rest/proxy?url=";
>>
>>
>> Regards,
>> Andreas.
>>
>>
>>     
>
> Hello,
> thanks for your very fast answer. I replaced the line for the proxyhost with
> 'OpenLayers.ProxyHost="/geoserver/rest/proxy?url=";'
> --> Unfortunately I get the same error.
>
> It's really frustrating.
>
> Do you have any other idea.
>   

Only if you provide more context:

* the code of the example you are trying to run
* the url you are accessing it through

Regards,
Andreas.

> Regards
> stash
>
>   


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




More information about the Users mailing list