Thanks very much for Joshua's help, this problem has been resolved. > -----Original Message----- > From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx]On Behalf Of > Joshua Slive > Sent: Tuesday, March 21, 2006 1:13 AM > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] [Digest Authentication Fail] > Apache Http Server V2.2 > > > On 3/20/06, Ouyang Lei <ouyang@xxxxxxxxxx> wrote: > > > > > <Directory "/usr/local/apache/htdocs/secd"> > > AllowOverride All > > </Directory> > > > > Step 4. Make a new directory named as /usr/local/apache/htdocs/secd, > > create .htaccess as belows: > > You can put the directives directly in the <Directory> section. No > need for the .htaccess file. I think so. > > > AuthType Digest > > AuthName "Digest Test" > > > Step 5. Create digest_passwords file by "./htdigest > > /usr/local/apache/passwd/digest_passwords > > /usr/local/apache/htdocs/secd 123" > > The "realm" specified using htdigest must match the AuthName, if I > remember correctly. > I try to input command as "./htdigest /usr/local/apache/passwd/digest_passwords "Digest Test" 1234". The digest authentication works. > Joshua. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx