[SOLVED] Re: [OpenLayers-Dev] ProxyHost
Mohammed Rashad
mohammedrashadkm at gmail.com
Sun Oct 24 08:31:23 EDT 2010
I solved the issue. The problem is if you are behind a proxy you should
include the proxysettings in the proxy.cgi file
the typical proxy settings for urllib is as follows
proxy_handler = urllib2.ProxyHandler({"http" : "
http://proxy.rashadkm.in:8080"})
proxy_auth_handler = urllib2.ProxyBasicAuthHandler()
opener = urllib2.build_opener(proxy_handler, proxy_auth_handler)
urllib2.install_opener(opener)
Any one please add these lines to proxy.cgi or upload How_To_proxy.cgi so
that other can save time :)
On Sun, Oct 24, 2010 at 10:19 AM, Mohammed Rashad <
mohammedrashadkm at gmail.com> wrote:
> will you send me your proxy.xgi?
>
>
> On Tue, Oct 19, 2010 at 10:57 AM, Felipe Alcacibar <falcacibar at gmail.com>wrote:
>
>> Mohammed: it seems that you are some confused with the concepts of proxy.
>>
>> A proxy is like a "tunnel" toi reach another host/computer/server.
>>
>> The proxy mentioned http://proxy.rashadkm.in port=8080 is a HTTP
>> proxy, is a proxy commands for the HTTP protocol, more specify the
>> CONNECT HTTP method like GET, POST or HEAD, this proxy is designed to
>> proxy TCP/UDP Connections via HTTP.
>>
>> The proxy.cgi is a HTTP server side proxy is a HTTP URL that responses
>> to another URL, but connects from your server, and responses you the
>> remote URL, that is why you need to pass it in a GET Query String
>> parameter, if you want to pass trought proxy.rashadkm.in proxy the
>> proxy.cgi script, you must need to configure it on the server, you
>> could see http_proxy unix environment variable or internet settings
>> for windows servers.
>>
>> as you see both seems like are the same, but not =D
>>
>> Felipe Alcacibar B.
>>
>
>
>
> --
> Rashad
>
--
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101024/8eac5b53/attachment.html
More information about the Dev
mailing list