I simply can't get Plain Basic auth to work on lighttpd for more than one user.
I have this auth.user file formatted like this:
[account_1_name]:[account_1_password]
[account_2_name]:[account_2_password]
[account_3_name]:[account_3_password]
[account_4_name]:[account_4_password]
and more.
But, everytime I try to log into my webpage, LightTPD.exe returns me:
(http_auth.c.887) password doesn't match for / username: XXXXXXX, IP: XX.XX.XX.XX
Here's my auth.conf:
auth.backend = "plain"
auth.backend.plain.userfile = "C:/servers/webserver/bin/lighttpd/conf/auth.user"
auth.require = ( "/" =>
(
"method" => "basic",
"realm" => "Server login required",
"require" => "valid-user"
)
)
What can I do?
Please notice that if in my auth.user file I put only one user:password entry it works.
Thanks in advance for every attempt to help.