Hi all,

I am trying to create a passworded folder on my web server using Apache .htaccess and .htpasswd.
I just keep getting the prompt to log in and when I put in the user name and password I specified in those files, my login always returns unsuccessful.
Here are the contents of the files.
Content of .htaccess file:
AuthType Basic
AuthUserFile "/htdocs/…./.htpasswd"
AuthName “Enter valid username and password!”
require valid-user

Content of the .htpasswd file:
myname: abcdef123

In a bid to resolve the problem, I have used various encryption tools to encrypt the password in the .htpasswd and I have used these:

…but I got the same result.

In case it will help, my Apache Version Number is 2.2.3.