Hi,

Edit the file and see if the host you're accessing is in the array "allowedHosts".

Regards,

Alexandre


On 10-10-17 12:21 AM, Mohammed Rashad wrote:
How to set ProxyHost.
I had downloaded the proxy.cgi from openlayers trac and without no modification i copied it to /usr/lib/cgi-bin/proxy.cgi

I am behind a proxy and http://proxy.rashadkm.in port=8080

How to set the proxy if i am behind the above proxy.

 OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";

my firebug output was
Access to restricted URI denied"  code: "1012
http://openlayers.org/api/OpenLayers.js
Line 1188


What is wrong? .  Please correct me if I am wrong.

Anyone please help


--
Rashad


_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev


--
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to