$BINDIR/htdig -i $opts $stats $alt
Modify it as follows:
$BINDIR/htdig -i -u username:password $opts $stats $alt
replace username with a valid one and password with a valid one. Don't use dollar signs in the password, it will screw up htdig. If you wish to use a separate config file, do the following:
$BINDIR/htdig -i -c /htdig/conf/htdig2.conf -u username:password $opts $stats $alt
This will allow you to dig a password protected sight with the parameters assigned by a second configuration file called htdig2.conf.
This should get the job done for you. the -u option will work on both the protected and unprotected site since the unprotected won't be asking for a password.
Use it Well, -- | Douglas S. Davis - Information Systems Coordinator | Monical Pizza Corporation (http://www.monicals.com) | - - - - - - - - - - | "Home of the Family Pleaser . . . People Pleasing People" | - - - - - - - - - - | 815/937-1890 - Voice . . . 815/937-9828 - Fax --
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

