Hi all,
well, I successfully display vector points via WFS when my GeoServer istance
(used as WFS and web server) is on localhost.

Using the same OL code, if I connect from the Internet (having the Apache
web server and GeoServer on different hosts) I cannot display the points.
I know about the same-origin policy of Javascript with XMLHTTPRequest
objects so I set a proxy:

 - as suggested in the OL FAQ by putting the proxy.cgi (enabling the host
with GeoServer) and setting the ProxyHost in OL;
 - or enabling the proxy module which is embedded in Apache [ 
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html  ] so that a reverse
proxy is added in the web server and the client sees the same origins.

In both cases my WFS request is not even displayed in Firebug (not in the
Console panel, nor in the Net panel).
Any suggestion is really appreciated,
thank you guys. !

Piero
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WFS-Proxy-Issue-tp1822735p5654258.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to