[OpenLayers-Users] 502 bad gateway

Smaran Harihar smaran.harihar at gmail.com
Wed Oct 24 14:48:27 PDT 2012


Hi Guys,

I moved my project to a new system and I am getting a 502 Bad Gateway for
all the XMLHttpRequest. I made the following changes,

I added the proxy.cgi allowedHosts = [url]. I have also changed the default
file in the apache2 and added the server name as the new domain name.

Rest of the code is absolutely the same but I am not able to receive any of
the response from the ajax request. The reason I say not able to receive is
because I am able to send the request to my py script, as I can see the
JSON when I place this
link<http://128.196.142.55:9000/info?lat=38.548166617395786&lon=-103.53515625000308>in
the browser.

Any ides where I am going wrong?

-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121024/57e957bd/attachment.html>


More information about the Users mailing list