Htaccess Digest Authentication

I want to protect the .htaccess folder. The following work does not work. It displays a login dialog in the browser, but it looks like the username and password do not match. When I changed the method to Basic, it worked fine.

AuthUserFile /home/pass/.htpasswd AuthName "Login" AuthType Digest Require valid-user 
+4
source share
1 answer

The digest authentication method uses a different type of password file. You cannot use the password file created for BASIC for use with DIGEST. To create a password file, you need to use the htdigest command (or some equivalent online digest file generator).

+8
source

All Articles