Hi,
I read a lot about those errors but always when someone was using .htaccess file. Apache documentation says you dont have to use it. Instead you write everything in <Directory> and off you go. Well, not in my case - I always get that error after providing correct password.
I've got modules: file, basic, mime, dir and host loaded.
At the end of httpd.conf I added this:
Tried with valid-user as well as user particular_user. Same thing happens.
Anything I'm missing ?
Thanks,
K.
I read a lot about those errors but always when someone was using .htaccess file. Apache documentation says you dont have to use it. Instead you write everything in <Directory> and off you go. Well, not in my case - I always get that error after providing correct password.
I've got modules: file, basic, mime, dir and host loaded.
At the end of httpd.conf I added this:
Code:
<Directory /usr/local/www/apache22/data/photos>
AuthType Basic
AuthName "private"
AuthBasicProvider file
AuthUserFile /usr/local/www/apache22/passwd/passwords
Require valid-user
</Directory>
Tried with valid-user as well as user particular_user. Same thing happens.
Anything I'm missing ?
Thanks,
K.