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. > 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. 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