I have a Debian Stable with its regular Apache2 server running. It works fine otherwise, it just does nothing with a
.htaccess that I put into a directory (
/var/www/admin/. It says:
AuthType Basic AuthName admin AuthUserFile /var/www/admin/.htpasswd Require valid-user
And in the same folder there is the
.htpasswd in the same folder.
I checked the
/var/log/apache/error.log, but it does not show anything.
I added a
<Directory /var/www/> AllowOverride All </Directory>
apache.conf, but that did not change anything either.
How can I get this to work?