I have the following htaccess, directory listing is enabled, however when go to the directory the .htaccess file is in, there's no access control. what's wrong?
AuthName "Restricted Area" AuthType Basic AuthUserFile /home/xxx/.htpasswd AuthGroupFile /dev/null require valid-user