Jedes mal doktor ich rum, bis ich irgendwann darüber stolpere, dass .htpasswd
im Web-Root liegen muss (nicht in einem Domain-Root!), und weder relativ, noch über home/
verlinkt sein darf:
1 2 3 4 |
AuthType Basic AuthName "Speak friend and enter" AuthUserFile /var/www/virtual/<user name>/path/to/.htpasswd Require user foobar |