hello there !
i wanna restrict the content of a certain dir
so i ve created a user file with
htpasswd -c file user1
then i ve put
<Directory /usr/local/apache2/htdocs/dir>
AuthName test
AuthType Basic
AuthUserFile file
Require user
</Directory>
in my httpd.conf file
then started httpd
unfortunately when doing this it doesn t work and tell me
when trying to access
http://127.0.0.1/dir
that authorization failed
so i tried with
Require valid-user
instead , and then it works ...
any idea why i can t specify users with the Require directive ?
thanx