i ran an apache server ( on windows don't ask why i don't use linux ) and want to use CoffeeCup Website Access Manager software to having control over my htaccess and htpasswd file and many other abilities.
you can use this software to create users and it would specify a htaccess and htpasswd for him / her.
but i have a big problem that's annoying me for ages !
let me to set example for this one :
i created a user by this software : User1
and give it password :123
ok,everything's fine and sotware generate htaccess and htpasswd file for this user like this :
htaccess file content :
#### CC BEGIN WEBSITE ACCESS MANAGER ####
AuthName "Members Only"
# Access Restriction:
Require user Administrator user
Require user user
#### CC END WEBSITE ACCESS MANAGER ####
htpasswd file content :
#User Password File - 2012/11/01 11:42:51 Þ.Ù
software use MD5 algorithm so encryption is perfect for apache
but big problem appear when i open my browser and type this address for example :
a : folder that i set password for it
the log in window is front of my eyes and i enter :
user 1 and 123 ( username and password i created before )
but nothing would happen !
again i re-enter password carefully but again nothing !
i check apache log and it gives me mismatch password !!!!!!!!!!!!!
another big major Surprise comes along when i edit htpasswd file
we had : user1:$1$sa$ik3hB/TAF0UbwxvubOLHp/
if i change that to :user1:123 ( i mean change MD5 hashed file to just a plain text )
everything works fine and mismatch password error is gone !!!
any reason or hint ?