Hi,
i want to create a password protected directory on my server, i have searched out many things for these on internet and i have got one thing is create .htpasswd file in the directory which i want to protect but its not working in my case.
Code:
AuthUserFile /home/<user_name>/html/.htpasswd
AuthGroupFile /dev/null
AuthName "Secure Area"
AuthType Basic
require valid-user
Thanks.