I'm having an odd problem with htpasswd on a Linux box running Apache
I can create the .htaccess file:
AuthName System Monitor
<Limit GET POST>
and run htpasswd -c .htpwd test to create the passwd file and enter user
"test". I then enter the password for the user. When I access the page,
I get the dialog to enter name/password, and I enter the correct name
and password. I then get an Authorization Failed notice, and the error
log shows a "type mismatch" error. I can change passwords and add users
to my hearts content, but I can't access the page with any of the
accounts created. The directory specified is also set as the document
root in the Apache conf files.
I've made sure that .htpwd, .htgroup, and .htaccess are world-readable,
exist in the appropriate directory, and specified that .htaccess is the
file that httpd checks when loading a page (that works, the dialog
appears) but I can't get a valid login.
Note: The above .htaccess file and associated .htpwd and .htgroup files
work fine under Apache 1.2 on a BSDI box.
Paul Venezia - MonadNet System Administrator