Re: htdig: htDig and password protected areas

Geoff Hutchison (
Sun, 24 Jan 1999 13:58:54 -0400

At 7:11 PM -0400 1/22/99, Degan Outridge wrote:

>@htdig = `$LIBDIR/bin/htdig -i -v -u username:password -s -c
>However, I am using berkeley db files for the passwords, and they were
>unable to get this to work. I'd appreciate any other suggestions.

First off, I'd grab version 3.1.0b4 if you only have 3.0.8b2. You'll
probably appreciate the speed boost and bug-fixes, if nothing else.

        -u username:password
               Tells htdig to send the supplied username and password
               with each HTTP request. The credentials will be encoded
               using the 'Basic' authentication scheme. There HAS to be a
               colon (:) between the username and password.

So it comes down to this... Is the server running Basic authentication
(database or file), and does the server accept the username and password
when you access it through another browser?

If so, send me a run with "-vvv" instead of "-v" so I can see why it's not


-Geoff Hutchison
Williams Students Online

To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the body of the message.

This archive was generated by hypermail 2.0b3 on Mon Jan 25 1999 - 08:15:24 PST