On 31 May 2012, at 08:11, Jesus wrote:

> El 29/05/2012 10:03, Jesus escribió:
>> Hi,
>> I'm a developer in wookie. I'm trying to install cgi proxy in a widget. I 
>> want to do this because i need to use openlayers libraries and this 
>> libraries have to use this proxy.
>> 
>> Especially, I need to know like use python within apache wookie, because 
>> this proxy was written in python. Therefore I need that wookie perform this 
>> language.
>> 
>> Thank for your attention.
>> 
>> 
> 

Hi Jesus,

There is a built-in server side proxy in Wookie. 

Use this in your JavaScript code:

OpenLayers.ProxyHost  = widget.proxify().split("undefined")[0];

You will need to add the origins you want to access to the Wookie /policies 
file, e.g. 

http://my-openlayers-widget-id * ALLOW

This directive instructs the proxy to allow your widget to access any origins.

S

Reply via email to