Forum Moderators: phranque

Message Too Old, No Replies

AuthDBMUserFile Error

Internal Server error when authenticating

         

kaidok

10:07 am on May 14, 2009 (gmt 0)

10+ Year Member



I have the following lines on my httpd.conf

<Directory /usr/local/apache/htdocs/secret>
AuthType Digest
AuthName "Restricted Files"
AuthDBMUserFile /usr/local/apache/passwd/passwords
Require user Alberto
</Directory>

If I try to enter secret, after autheticating correctly, I get the following error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

If I access via a plain text passwords file it works correctly.

Any idea of what can be happening?

jdMorgan

2:23 pm on May 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What is in your raw server error log file?

Jim

kaidok

6:09 pm on May 14, 2009 (gmt 0)

10+ Year Member



I don't know what I have done but the error has quitted. Anyway one new has popped up, know the password dialog box doesn't recognize the user added by dbmmanage. (I have tested it a lot, so it's not my fault). I mean, I enter the username and the password I have given to it and it doesn't recognize it.

I get the following error whenever I add an user to passwords file with dbmmanage: Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ

I don't know if it's responsible.

Also in my access log when I try to access I get the following:

127.0.0.1 - Alberto [14/May/2009:22:06:33 +0200] "GET /var HTTP/1.1" 401 474