Re: [Zope] Using ZClient to Access Another Server: Via Proxy?
ZClient is working on top of HTTP protocol; and Client.py uses urllib for HTTP. So my guess is you can just declare "http_proxy" environment variable: export http_proxy="http://proxy.my.company.com:8080" and run ZClient.
Thanks for Your suggestion! However, this is the error reported: Error Type: bci.NotAvailable Error Value: (111, 'Connection refused') (File: http://www.web.de Line: []) None None for None Does this help? Thanks for help! Ralf Herold ralf.herold@charite.de
Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im
Loren Stafford describes in her "How-To: Using ZClient to Access Another Server" a method that I would like to use, but the Zope Server resides behind a firewall and it requires the usage of a http proxy to access external web servers.
Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru
On Sat, 17 Jun 2000 ralf.herold@charite.de wrote:
Thanks for Your suggestion! However, this is the error reported:
Oh, yes. Now I see... I've read Client.py and found it stopped using urllib, but use httplib directly. No luck - either patch Client.py or use different approach. Use XML-RPC. You, probably, will need to write your own Transport class... Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
ralf.herold@charite.de