I want to password protect a directory but it is not working yet.
The following error is found in my log:
invalid command 'AuthDBMUserFile' perhaps misspelled or defined by a meodule not included in the server configuration
What permissions does this file need?
AuthName = "Family Only"
require valid user
I have the AllowOverride AuthConfig Option set in a directory under my virtualhost. I was able to succesfully create users with the dbmmanage command
I have fixed it by doing it a bit different. I have removed the .htaccess file and specified the options in the directory. Afterwards I created a userdb wit htpassword.
What is the difference between this and dbmmanage?
I think you will have to replace the
"AuthDBMUserFile" directive with
I dont think there is any directive called AuthDBMUserFile, is there??
I did change that to AuthUserfile when I put the directives in my directory.
Originally I had put the content in an .htaccess file and use AuthDBMUserfile because that's what it said in an example I got from a book.
As this did not worked I used AuthUserfile as described on the Apache site.
I'll have to try it again with a .htaccess file.
What does dbmmanage do exacty and how does it work?
I managed to create a user database with like you do with htpasswd. The latter seems to have less parameters available.