You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2005/05/19 14:04:55 UTC
[PATCH] let mod_auth_dbm stand on its own two feet
(I ASSume this is resolved with the AAA redesign in 2.1-dev. I didn't
check, though.)
Try this with 2.0:
<Location /protected>
authtype basic
authname "Restricted Files"
authdbmuserfile /scratch/inst/20/jeffdb
require valid-user
</Location>
If mod_auth isn't loaded, you get this after a successful user/pass
verification, and request fails:
[client 127.0.0.1] configuration error: couldn't check access. No
groups file?: /protected/, referer: ...
Then add LoadModule for mod_auth and it starts working as expected.
mod_auth_dbm is missing some boilerplate handling of the require
directive which causes it to decline its auth_checker hook.