I'm doing something wrong that I could not figure out why my .htaaccess is not working
I want to protect my a2billing admin directory access
so in /var/www/html/a2billing/admin directory, I have .htaccess file with the following:
Quote:
AuthName "For Registered Users Only"
AuthType Basic
AuthUserFile /var/htpasswd
require valid-user
in the file /var/htpasswd
I my username password in there generated by htpasswd -c
I have restarted httpd
but when I try to access the admin directory, it's giving me access w/out entering the username/password.
Can someone please shed some light?
Thanks