Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

htdig: htDig and password protected areas

3 views
Skip to first unread message

Degan Outridge

unread,
Jan 23, 1999, 3:00:00 AM1/23/99
to
My ISP has htDig 3.08b2 installed. I have a password protected subdirectory
which is the Start_url for the dig, and I would like to know if there is a
way to modify the script so that I don't have to take off htaccess each
time I wish to index the pages. The techs at the ISP suggested adding :

@htdig = `$LIBDIR/bin/htdig -i -v -u username:password -s -c
$LIBDIR/conf/$u.conf`;

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.

Thanks,

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

Geoff Hutchison

unread,
Jan 25, 1999, 3:00:00 AM1/25/99
to
At 7:11 PM -0400 1/22/99, Degan Outridge wrote:

>@htdig = `$LIBDIR/bin/htdig -i -v -u username:password -s -c
>$LIBDIR/conf/$u.conf`;
>
>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.

From http://www.htdig.org/htdig.html
-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
working.

Thanks,

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

0 new messages