Here is my virtualhost configuration:
<VirtualHost *:80> DocumentRoot /home/user1/htdocs/folder1 ServerName folder1.hostname.tld <Directory /home/user1/htdocs/folder1> AuthType Digest AuthName "private" AuthUserFile /home/user1/passwd Require user superman #Order allow,deny #Allow from all </Directory> </VirtualHost>
I've added the user with :
htdigest -c /home/user1/passwd private superman
Apache keep giving me in its log :
client denied by server configuration: /home/user1/htdocs/folder1/
I don't know what's wrong... Apache has the right to read the passwd file. In addition if I comment the AuthDigest... lines and uncomment the Order and Allow, apache serves the folder like a charm. Apache responds me with a 403 and doesn't prompt my browser for user/pass ..
Any help ?