Thanks very much for Joshua's help, this problem has been resolved. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Joshua Slive > Sent: Tuesday, March 21, 2006 1:13 AM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] [Digest Authentication Fail] > Apache Http Server V2.2 > > > On 3/20/06, Ouyang Lei <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]