[OpenLayers-Dev] proxyHost cgi issue (Domenico Febbo)

Jim Ing jing at pelmorex.com
Tue Oct 23 13:28:53 EDT 2007


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 mailing list