I have mostly used IIS so I just set the permissions in windows.
Anyway I made a folder in the root of my site called secure and one underneath it pass (/secure/pass)
I went online and generated an .htaccess and .htpasswd file.
I uploaded them to the server
Here are the contents:
.htaccess - in secure folder
CODE
AuthUserFile /secure/pass/.htpasswd
AuthGroupFile /dev/null
AuthName Secure-Login
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
AuthGroupFile /dev/null
AuthName Secure-Login
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
.htpasswd - in pass folder
CODE
test:test
Now I'm prompted for a username/password but it won't accept it.
Does anyone have any ideas?
Thanks,
Kenny
