• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

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?
0
metalaureate
Asked:
metalaureate
1 Solution
 
sompol_kiatkamolchaiCommented:
Hi,

Have you followed this instruction?
http://httpd.apache.org/docs/2.2/programs/htpasswd.html

Hope this help,
Sompol
0
 
metalaureateAuthor Commented:
Thank you.

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

Must be MD5 not DES...
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now