[OpenLayers-Users] openMNND demo
Christopher Schmidt
crschmidt at metacarta.com
Wed Apr 18 07:24:11 EDT 2007
On Wed, Apr 18, 2007 at 02:37:38PM +1000, bradleyspencer wrote:
> 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?
Assuming you get a proxy set up, such that
http://mysite.com/remotewfsserver/ points to
http://example.com/cgi-bin/mapserv -- you don't *need* to do anything
anymore, because as far as the browser is concerned, the URL
mysite.com/remotewfsserver is running under the same domain. (Remember,
all that matters is what the browser thinks it is talking to.)
So, once cubewerx.something/remotewfs?request=GetCapabilities, make your
WFS layer point to cubewerx.something/remotewfs, and you won't need
a proxy anymore.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list