[OpenLayers-Users] openMNND demo

bradleyspencer brad at cubewerx.com.au
Wed Apr 18 00:37:38 EDT 2007


Christopher,

Assuming I get Apache set up correctly with a forward Proxy, what should I
put in the OL ProxyHost variable?

OpenLayers.ProxyHost="/modules/mod_proxy.so?url=";

Its still not clear to me what happens inside OL?

Cheers,

Brad Spencer
General Manager
CubeWerx Australia Pty Ltd
ABN: 37 115 163 285
Mob: +61 (0)404 841 131
Tel/Fax: +61 (0)2 9481 7024
mailto:brad at cubewerx.com.au
http://www.cubewerx.com.au

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
Sent: Wednesday, 18 April 2007 1:32 PM
To: bradleyspencer
Cc: Stephen Woodbridge; openlayers users
Subject: Re: [OpenLayers-Users] openMNND demo

On Wed, Apr 18, 2007 at 01:06:21PM +1000, bradleyspencer wrote:
> So I am told that this is cross domain accessing that will not work via JS
> unless the application first goes via a proxy server. So I am trying to
set
> up a proxy server on my web server that my application will refer to that
is
> not a JS application.
>
> Does that sound right to you?

Yep.

> So when I loaded the example one it was a Python script which I did not
have
> installed and know nothing about.

Understood. We have not made it a priority to document this, because
there are dozens (literally) of server combinations we have presented
with, and we can solve little more than a fraction of them. The Python
CGI is designed to be an example for someone with coding experience to
move forward from: it 'works fr me', in that I can install it on any of
my servers (because I have Python installed) and not worry about it.

> I thought that it would be easy to
> configure Apache to be a Forward Proxy but am having difficulty there too.
I
> am an application bloke not a systems bloke so need some help.

Using Apache as a proxy -- typically under mod_proxy -- is how I'd go
about this. dev.openlayers.org/geoserver actually runs through a proxy
to another machine which runs geoserver (though it's down at the moment)
-- I recommend starting with mod_proxy documentation.

Regards,
--
Christopher Schmidt
MetaCarta




More information about the Users mailing list