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!

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas