Re: PEAR: using channels with password (http auth)
| From: | Gregory Beaver | Date: | Thu, 22 Nov 2007 15:55:34 +0000 |
| Subject: | Re: PEAR: using channels with password (http auth) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28203@lists.php.net to get a copy of this message | ||
Christian Weiske wrote:
> Hello,
>
> I'm trying to discover a channel that is protected by HTTP Basic Authorization:
> $ pear channel-discover user:pass@pear.example.org
>
> This does not work. Is there a different way to use pear with HTTP auth?
the channel should not protect the root directory, so that channel.xml
is always accessible. Once the channel is discovered, you set user/pass
using config-set.
Otherwise, you have to download the channel.xml manually and use
channel-add to add the channel.
Greg