[OpenLayers-Dev] proxyHost cgi issue

Domenico Febbo domenico.febbo at gmail.com
Wed Oct 24 09:10:34 EDT 2007


Hi,
with same modify I've configured the OpenLayers script "proxy.cgi" for
my lan (adding http_proxy configuration).

thanks, Jim for that url.

I've this question: the same cgi is configurable for IIS web server or
there is other script to workaround  the "samePolicy" restriction?

Domenico

> Date: Tue, 23 Oct 2007 13:28:53 -0400
> From: "Jim Ing" <jing at pelmorex.com>
> Subject: Re: [OpenLayers-Dev] proxyHost cgi issue (Domenico Febbo)
> To: <dev at openlayers.org>
> Message-ID:
>
> Content-Type: text/plain;       charset="us-ascii"
>
> Domenico,
>
> Here's one that I'm using:
> http://www.jmarshall.com/tools/cgiproxy/
>
> Just make sure your Apache httpd.conf has these settings:
>
> LoadModule cgi_module modules/mod_cgi.so
>
> <Directory "C:/<Insert your DocumentRoot>">
> Options Indexes FollowSymLinks ExecCGI
> </Directory>
>
> AddHandler cgi-script .cgi
>
> Also, you might need to edit the first line of nph-proxy.cgi to point to
> your Perl
> #!/usr/bin/perl
>
>
> Jim
>
>
> -----Original Message-----
> Date: Tue, 23 Oct 2007 10:28:29 +0200
> From: "Domenico Febbo" <domenico.febbo at gmail.com>
> Subject: [OpenLayers-Dev] proxyHost cgi issue
> To: dev at openlayers.org
>
> I need to use proxy.cgi script to forward "get" request on
> XMLHttpRequest object to a external host, but I have same problem with
> the path to add at "url=" field.
> Moreover I've tried the online script
> http://dev.openlayers.org/sandbox/docs/examples/proxy.cgi
> but the http://openlayers.org redirect seems to have a issue because
> the OpenLayers object isn't found (try with Firebug enabled) and all
> the relative path are wrong.
> Somebody have other proxy script for Apache webserver?
> thanks,
> Domenico
>
>
> ------------------------------



More information about the Dev mailing list