[OpenLayers-Dev] proxyHost cgi issue
domenico.febbo at gmail.com
Wed Oct 24 09:10:34 EDT 2007
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?
> 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>
> Content-Type: text/plain; charset="us-ascii"
> Here's one that I'm using:
> 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
> AddHandler cgi-script .cgi
> Also, you might need to edit the first line of nph-proxy.cgi to point to
> your Perl
> -----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
> 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?
More information about the Dev