[OpenLayers-Users] 502 bad gateway
Smaran Harihar
smaran.harihar at gmail.com
Wed Oct 24 15:19:16 PDT 2012
I was able to figure out where I was wrong. I was meant to add the url or
the domain name in the /usr/lib/cgi-bin/proxy.cgi not the one that I was
keeping locally in my dir.
Thanks
On Wed, Oct 24, 2012 at 2:48 PM, Smaran Harihar <smaran.harihar at gmail.com>wrote:
> 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
>
>
--
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121024/45c635ec/attachment-0001.html>
More information about the Users
mailing list