Setting up digest authentication

0

Hi, I'm trying to configure a HTTP digest auth on ec2. I create username and pwd by htdigest and set up authentication in both .htaccess and /etc/httpd/conf/httpd.conf by the following.

<Directory "/var/www/html">

AllowOverride All
AuthType Digest
AuthName "Digest Auth"
AuthDigestDomain /var/www/html/secret/
AuthUserFile "/etc/httpd/conf/.digestpass"
Require valid-user
</Directory>

But no authentication is successfully set up as I reload the /secret page. Am I missing anything? Any help would be appreciated!

No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas