I have a problem with proxy.cgi. I read other posts but didn't find a solution. When I make my WFS request in console, the following error comes up: "POST http:// localhost:8081/cgi-bin/proxy.cgi?url=http%3A%2F%2Flocalhost%3A8080%2Fgeoserver%2Fwfs 404 (Not Found)", in other words the application don't find my proxy.cgi file. My settings are:
- OpenLayers.ProxyHost="/cgi-bin/proxy.cgi?url=" in OpenLayers.js;
- uncomment tag servlet and servlet-mapping in web.xml file of server Tomcat;
- add privileged="true" attribute to tag Context in context.xml of server Tomcat;
- change first row of proxy.cgi in #!C:/Python27/python.exe (installation path on Windows 7).
Any idea how to resolve the problem?