You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Jesus <jv...@ual.es> on 2012/05/29 10:03:24 UTC
cgi proxy
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.
Re: cgi proxy
Posted by Scott Wilson <sc...@gmail.com>.
On 29 May 2012, at 09:03, Jesus wrote:
> 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.
I think if you try:
OpenLayers.ProxyHost = widget.proxify().split("undefined")[0];
... that should work.
(Normally you'd call widget.proxify(myurl) to get the proxied version of a URL for accessing via Ajax)
S
Re: cgi proxy
Posted by Jesús <je...@gmail.com>.
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.
>
>
Re: cgi proxy
Posted by Scott Wilson <sc...@gmail.com>.
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
Re: cgi proxy
Posted by Jesus <je...@hotmail.com>.
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.
>
>