views:

32

answers:

1

hi I am using htaccess and htpassword file in my project. Everything is working fine but when I put an encrypted password in the htpassword file then password does not match, but when I put in a plain text password it does match. But I want to match the encrypted password.

Please tell me what the the problem is and how I can resolve this?

+1  A: 

It seems from comments that you somehow encrypt your password or copy-paste it from somewhere else. Use htpasswd utility to update the .htpasswd file. See htpasswd documentation for details.

jollyroger