Link to home
Start Free TrialLog in
Avatar of metalaureate
metalaureateFlag for United States of America

asked on

Apache passwords don't work

My .htpasswd passwords are not working. I use crypt() or the online Apache password generators, but the encyption string is not recognized.

.htaccess and .htpasswd are working fine otherwise: the root works fine, and if I copypaste the root password string to an additional user, then that works fine, but I seem to be unable to generate new passwords. I am using Apache 2.2.

For example,

client:$1$Gt4.XI0.$T.3c4x2cEYpwRH52H4uMN0

This meant to be the password "l3tme1n"

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of sompol_kiatkamolchai
sompol_kiatkamolchai
Flag of Thailand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of metalaureate

ASKER

Thank you.

htpasswd -c [filename] [username] followed by the command line prompts work just fine!

Must be MD5 not DES...