I have a password-protected directory on a server running httpd. Apache is set up to prevent unauthorized access by asking for a username and passwd when someone attempts to navigate to the directory in question. This all works fine when attempting to access the protected directory thru a browser.
However, the following (command line) fails (notice the username/password is passed explicitly in the request):
rpm -Uvh http://admin:passwd@xxxxxxxxxxxx/protected_upgrades/my_package.rpm
even tho' this succeeds.
wget http://admin:passwd@xxxxxxxxxxxx/protected_upgrades/my_package.rpm
(see below for details, error msgs, etc).
The RPM documentation indicates this should work. Doe anyone know if therre is a bug in RPM or is there a configuration tweek I need to know about or maybe another rpm command-line flag I am unable to figure out?
In case it matters, I am running Linux RH 8.0 (i686) and am fully "up2date" (as of today: 12/5/2003).
Tia,
- rich rich.coco@xxxxxxxxxxx
*********** The RPM failure *****************
$ rpm -Uvh http://admin:passwd@xxxxxxxxxxxx/protected_upgrades/my_package.rpm
Retrieving http://admin:passwd@xxxxxxxxxxxx/protected_upgrades/my_package.rpm
error: skipping http://admin:admin@xxxxxxxxxxxx/protected_upgrades/my_package.rpm - transfer failed - Unknown or unexpected error
********** The wget success *************** $ wget http://admin:passwd@xxxxxxxxxxxx/protected_upgrades/my_package.rpm --13:43:05-- http://admin:*password*@foo.acme.net/protected_upgrades/my_package.rpm => `my_package.rpm' Resolving foo.acme.net... done. Connecting to foo.acme.net[xx.xxx.xxx.xxx]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10,983,442 [application/x-rpm]
100%[====================================>] 10,983,442 11.23M/s ETA 00:00
13:43:06 (11.23 MB/s) - `my_package.rpm' saved [10983442/10983442]
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list