Hello to all,<br><br>I am following the online instructions of OSGeo's <a class="reference external" href="http://workshops.opengeo.org/geoext/">Leveraging OGC Services with
 GeoExt</a> workshop.<br><br><br>I have the following setup:<br>Geoserver
 on localhost:8080<br>Apache server on localhost<br>Working proxy in 
OpenLayers.ProxyHost = "<a href="http://localhost/cgi-bin/proxy.cgi?url=" target="_blank">http://localhost/cgi-bin/proxy.cgi?url=</a>";<br>

<br>I am making a WFS request through GeoExt+Openlayers from my 
localhost to the geoserver at port 8080.<br><br> <br>OpenLayers.ProxyHost
 = "<a href="http://localhost/cgi-bin/proxy.cgi?url=" target="_blank">http://localhost/cgi-bin/proxy.cgi?url=</a>";<br>

var store = new GeoExt.data.FeatureStore({<br>                <br>               
 proxy: new GeoExt.data.ProtocolProxy({<br>                    protocol:
 new OpenLayers.Protocol.WFS({<br>                        url: 
"http//localhost:8080/<div id=":12y" class="ii gt">geoserver/wfs",<br>

                        version: "1.1.0",<br>                        
featureType: "topp:states",<br>                        srsName: 
"EPSG:4326"<br>                    })<br>                }),<br>

                autoLoad: true<br>            });<br><br>These are the 
headers:<br><br>URL<br><a href="http://localhost/cgi-bin/proxy.cgi?url=http%2F%2Flocalhost%3A8080%2Fgeoserver%2Fwfs" target="_blank">http://localhost/cgi-bin/proxy.cgi?url=http%2F%2Flocalhost%3A8080%2Fgeoserver%2Fwfs</a><br>


<br>Request Header<br><br><pre>POST /cgi-bin/proxy.cgi?url=http%2F%2Flocalhost%3A8080%2Fgeoserver%2Fwfs HTTP/1.1<br>Host: localhost<br>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) FirePHP/0.4<br>

<br>Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>Accept-Language: en-us,en;q=0.5<br>Accept-Encoding: gzip,deflate<br>Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>Keep-Alive: 115<br>Connection: keep-alive<br>

<br>Content-Type: application/xml; charset=UTF-8<br>Referer: <a href="http://localhost/projects/geoext/" target="_blank">http://localhost/projects/geoext/</a><br>Content-Length: 304<br>Pragma: no-cache<br>Cache-Control: no-cache<br>

<br></pre>
Request Body - XML Posted (this was made automatically by OpenLayers (or
 GeoExt, don't know which))<br><br><code><wfs:GetFeature 
xmlns:wfs="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>"
 service="WFS" version="1.1.0" 
xsi:schemaLocation</code><code>="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a> 
<a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" target="_blank">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>"
 
xmlns:xsi="<a href="http://www.w3.org/" target="_blank">http://www.w3.org</a></code><code>/2001/XMLSchema-instance"><wfs:Query

 typeName="topp:states" srsName="EPSG:4326"/></wfs:GetFeature></code><br><br>Response
 Header<br><br><pre>HTTP/1.1 200 OK<br>Date: Thu, 22 Apr 2010 13:46:27 GMT<br>Server: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_python/3.3.1 Python/2.5.4 mod_jk/1.2.28 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1<br>

<br>Keep-Alive: timeout=5, max=44<br>Connection: Keep-Alive<br>Transfer-Encoding: chunked<br>Content-Type: text/plain<br></pre><br>Response
 Body<br><br><pre><code>Illegal request.<br><br></code></pre><br><br>I would guess it has to do with the prox.cgi (which
 I got from the ol site) because there is one line of code which says: 
print "Illegal request."<br>Exactly my error message in the response 
body.<br>
<br>... but what does it mean ?<br><br>I tried the proxy in other 
situations and it works.<br><br><br>Anyone has any ideas ? They are 
deeply , deeply appreciated.<br><br>Thanks, João<br></div>-- <br>"Ajude um pouco ... já é muito"<br>Projecto SOSIndia <a href="http://sosindia.net">http://sosindia.net</a><br>---------------------------------------------<br>

<br>Shoot for the moon,<br>even if you miss it<br>you will land among the stars.<br>- Unknown<br><br>-------------------------------------------------<br><br>What if for a moment, as an experiment,<br>you drop every belief that you have?<br>

- Unknown<br><br>---------------------------------------------------------------<br><br>"We are all linked by a fabric of unseen connections. This fabric is constantly changing and evolving. This field is directly structured and influenced by our behavior and by our understanding."<br>

—David Bohm, quantum physicist, 1917–1992 <br>