Re: Using Basic HTTP authentication with a port other than 80

Zdenek Pavlas <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <52e72bdf-2328-4084-9ee5-11af677fefb5@zmail17.collab.prod.int.phx2.redhat.com>
> baseurl=http://user:password@<my-ip>:<my-non-80-port>/yum/RHEL/7/base/$basearch/
> ..
> When I set the listening port on the server back to 80, and remove
> the port specification in the client’s repo file, it works. This
> indicates to me that the extra ":" specifying the port confuses
> yum’s parsing of my URL.

AFAIK Yum does very little with that- it just appends relative
URL and passes full URL to libcurl.  user/pass parsing is certainly
done there, but I'm not 100% sure Yum does not mangle the baseurl
part in some way, and don't have EL5 at hands atm.

Try replacing the ':' between user and pass with '%3a', maybe
that helps.
_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
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.