I am trying to using a .htaccess file to password protect some files on my webserver(Mac OSX 10.3). I have followed 3 online tutorials (including apache.org), which all basically said the same thing. I have come up with the following three files and located them all in the root folder of the webserver. However I am receiving no prompt box when I navigate to the root folder. Can anyone explain? Thanks.
.htgroup:
user-list: brett alex
.htpasswd
brett:F22Aa9KWMOWDk
alex:A.1HUhXVGUEEo
.htaccess
AuthUserFile /Users/admin/Sites/.htpasswd
AuthGroupFile /Users/admin/Sites/.htgroup
AuthName Please login
AuthType Basic
<Limit GET>
require group user-list
</Limit>
.htgroup:
user-list: brett alex
.htpasswd
brett:F22Aa9KWMOWDk
alex:A.1HUhXVGUEEo
.htaccess
AuthUserFile /Users/admin/Sites/.htpasswd
AuthGroupFile /Users/admin/Sites/.htgroup
AuthName Please login
AuthType Basic
<Limit GET>
require group user-list
</Limit>