Hi Guys,<div><br></div><div>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,</div><div><br></div><div>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.</div>
<div><br></div><div>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 <a href="http://128.196.142.55:9000/info?lat=38.548166617395786&lon=-103.53515625000308">link</a> in the browser.</div>
<div><br></div><div>Any ides where I am going wrong?<br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>