Password protection on website
Password protection on website
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- graphikboi0
It just ain't working. Why are the easiest things so hard to do... grrrr.
I've saved a .htaccess and .htpassword onto my server in a folder called 'users', with these codes -
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /users/.htpasswd
AuthGroupFile /dev/null
require valid-userand the passwords and encryption password on the password file. But once uploaded to site no box pops up to ask me for a username or password
I've read that I have to save the htaccess and htpasswd files in ASCII, and not binary format. But my notepad only allows me to save these in ANSI or unicode or utf-8. I'm saving it as ANSI, is this where I'm going wrong.
Please help.