Small correction Phil, GET does use the proxy if it's XHR and not on the same 
origin.

Bart

Sent from my iPhone

> On 30 jul. 2014, at 06:46, Phil Scadden <[email protected]> wrote:
> 
> 
>> I'm using the OpenGeo suite with GeoExplorer as client.  In the file 
>> composer.html is setting   proxy: "../proxy/?url=" and works well. I can 
>> also make DescribeProcess queries using GET method but when I do an EXECUTE 
>> request using POST method is not working. 
>> if I change proxy settings to some of these /proxy/proxy.cgi?url=xxxx or 
>> /proxy.cgi?url=xxxx stop operating the query using GET DescribeProcess.
> 
> Sorry, I dont know the OpenGeo suite or Geoexplorer, it might best to take it 
> up with them.
> GET doesnt use the proxy - doesnt need to. You need the proxy to deal with 
> cross-origin security issues when using XHR. (ajax). if ProxyHost="/proxy..." 
> this implies you have a /proxy context on the server. "../proxy" looks more 
> likely - but /proxy/?url doesnt look like a valid syntax. Is there a proxy 
> directory or script at the same level as your main html on the server?
> 
> The important thing is to look at your server set up. See where the proxy 
> code actually is, what it is, and then make sure the client matches it. It is 
> common to use cgi with Apache but I know next to nothing about this as deploy 
> with tomcat and use a jsp for proxy. 
> Notice: This email and any attachments are confidential. If received in error 
> please destroy and immediately notify us. Do not copy or disclose the 
> contents.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to