Re: Yum, rhn and an apache proxy : problems

Miroslav Suchý <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Organization Red Hat, Registered Address: Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic, Registered in Brno under identification number CZ27690016
Message-ID <[email protected]>
Benoit Guguin wrote:
> Well, I've found
> 
> It's a bug in the crypto lib of python.  It doesn't add the HOST in the 
> headers of the HTTP/1.1 ...
> 
> In the file /usr/lib/python2.4/site-packages/M2Crypto/httpslib.py , add at the 
> line 165 :
>         msg = msg + "Host: %s:%d\r\n" % (self._real_host, self._real_port)
> 

This is just workaround. But not real solution.
So you use http proxy, or rhn proxy?

If http proxy, you should set up in /etc/sysconfig/rhn.live/up2date
variables:
enableProxy
httpProxy

-- 
Miroslav Suchy
RHN Satellite Engineering, Red Hat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.