XSoul
03-20-2006, 02:17 PM
Hiyas, I have a webserver running on OS X 10.3 Server. I have a passworded directory using '.htaccess'. I have two valid users, 'user' and 'user2k6' each with its own password. 'user2k6's password is 'currentpassword2k6'. But when i enter this page with my browser, it accepts any password when using 'user2k6' with 'currentpassword2*', where * is anything else, like a wild card. What's the cause for this?
'user' has no problem, but 'user2k6' passwords appears to be acting as if it had a wild card, but I am not aware of any wild card ability in htaccess passwords.
---------
My '.htaccess' files looks like this:
AuthType Basic
AuthName "admin"
AuthUserFile /rootdirectory/userfile
Require valid-user user user2k6
---------
My user password file looks like this:
user:encryptedpassword
user2k6:anotherencryptedpassword
---------
I created the passwords using the command:
"htpasswd -b userfile user2k6 currentpassword2k6"
'user' has no problem, but 'user2k6' passwords appears to be acting as if it had a wild card, but I am not aware of any wild card ability in htaccess passwords.
---------
My '.htaccess' files looks like this:
AuthType Basic
AuthName "admin"
AuthUserFile /rootdirectory/userfile
Require valid-user user user2k6
---------
My user password file looks like this:
user:encryptedpassword
user2k6:anotherencryptedpassword
---------
I created the passwords using the command:
"htpasswd -b userfile user2k6 currentpassword2k6"