I am trying to access the featureInfo in my application and I keep getting 502 Bad Gateway Network error. In teh console log under the response tab I am getting this error,
This proxy does not allow you to access that location (castle.iplantcollaborative.org:8080).
The GET param is,
/usr/lib/cgi-bin/proxy.cgi has the domain's url added to it's allowed hosts. The apache error.log file was giving this error,
Permission denied: exec of '/usr/lib/cgi-bin/proxy.cgi' failed
But when I changed the
chmod for the proxy.cgi file to
root:root it is not giving that error but it continues to give 502 Bad Gateway. I know I need to make some changes somewhere in the user permissions but not sure where?
Any idea what I should correct?