[OpenLayers-Dev] ProxyHost

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Mon Oct 18 09:35:36 EDT 2010


On Oct 18, 2010, at 8:32 AM, ext Alexandre Dube wrote:

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

Firebug wouldn't be throwing an error if this was the problem.

The problem is in the JS side -- something else must be wrong. You'll
probably need to share your entire file (or a URL to a working instance,
preferably.)

> 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
>> 
>> Dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>> 
>>   
>> 
> 
> 
> -- 
> Alexandre Dubé
> Mapgears
> 
> www.mapgears.com
> <ATT00001..txt>



More information about the Dev mailing list