Re: [OpenLayers-Users] WFS layer Cross-Origin-Resource-Sharing not working

2014-06-09 Thread Phil Scadden
Get a web guy involved and get a proxy ( can python, php, jsp or whatever server environment you like). A simple proxy just whitelists which ip:port combinations are valid. However, proxies are powerful and useful things that allow you add an intermediary layer between GIS servers and the clien

Re: [OpenLayers-Users] WFS layer Cross-Origin-Resource-Sharing not working

2014-06-09 Thread Ryan Williams
Hi Zack, If you want to try and keep all the code in JavaScript you can look at http://www.html5rocks.com/en/tutorials/cors/ I use a PHP proxy file here that uses CURL, partly because I had PHP programmers to help and partly because it avoids compatibility issues with browsers that can occur wi

[OpenLayers-Users] WFS layer Cross-Origin-Resource-Sharing not working

2014-06-08 Thread zachary
Hello, I’ve been able to use OpenLayers to reference a KML file on the same server as my OpenLayers script, inside an HTML file, but once have it pointing to a WFS service on a GeoServer that references a PostGIS table, it gives me the FireFox/FireBug error: “Cross-Origin Request Blocked: Th