<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>I would say that your url/path to proxy file is not right (is 'localhost' right? did you try using relative path? and so on)<br><br>HTH<br>Sarah<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;"></span></b><br></font><br>Hello list!<br><br>I need your useful help and experience, regarding with rendering a WFS service in OpenLayers!<br>Specifically, i stored my data in PostgreSQL 8.3/ PostGIS 1.5, i published them with GeoServer 2.0.2 creating WMS, WFS, WCS services, 
and now i want to show the WFS service in Open Layers. With WMS service, i haven't any problems. <br><br>I read a lot, the last days, and i realize that i have to locate a proxy host program at a cgi-bin directory.<br>


So, i installed the apache server at 80 port and i downloaded the proxy.cgi from the <a rel="nofollow" target="_blank" href="http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost">http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost</a> .After that, i edit the first line of this file, determining the directory of the python's executable program (#C:/Python25/python.exe -u), because the operating system of my computer is Windows. Also, i add the variable 'localhost' and 'localhost:8080' at the point of allowedHosts, and i renamed the proxy.cgi file to proxy.py. Afterwards, i type the link <a rel="nofollow" target="_blank" href="http://localhost/cgi-bin/proxy.py">http://localhost/cgi-bin/proxy.py</a> at a web browser and the resulting content of this page is the home page of open layers.<br>

So, all went well !!<br><br>But, when i add the code <i>OpenLayers.ProxyHost="<a rel="nofollow" target="_blank" href="http://localhost/cgi-bin/proxy.py?url=">http://localhost/cgi-bin/proxy.py?url=</a>"</i> at my javascript file and the required code for the WFS service, i can't see the WFS service!!<br>

<br>Why??Any ideas?? i do something wrong??<br><br>Any suggestion is accepted!<br>Thanks!<br><br>
</div></div>
</div></body></html>