I am trying to password protect a (web) directory called admin.
Below is my .htaccess for the admin directory:
---------------------------------------------------------
AuthUserFile /home/sites/sitex/etc/passwd
AuthGroupFile /dev/null
AuthName Admin
AuthType Basic
#order deny,allow
#deny from all
#allow from xxx.xx.xx.xxx
require valid-user
---------------------------------------------------------
I am getting below error:
------------------------------------------------------
[error] (2)No such file or directory: access to /admin/ failed for
xxx.xxx.xxx.xx,
reason: User not known to the underlying authentication module
-------------------------------------------------------