Added by dxjones about 3 years ago
I am running lighttpd/1.4.54 on embedded Linux 4.9.236+
The file .htpasswd is not the expected format:
1:5:1234567890123456789:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
That's 19 decimal digits and 64 hex digits.
What commands are used to create this file format?
I am guessing the last part my possibly be SHA1 hash of (username ":" realm ":" password) but I'm not sure.
Any suggestions appreciated.
Have you tried reading through the mod_auth documentation?
BTW, some distros ship a package named httpd-tools which contains the program htpasswd
, which can be used to managed .htpasswd
files.