Commit 20d3de35 authored by brian's avatar brian
Browse files

Reviewed by: Brian Behlendorf

Submitted by:	Alexei Kosut

Alexei wrote:
> Here is a patch that makes
> AuthUserFile/AuthGroupFile/AuthDigestFile work as they do in NCSA
> httpd, specifically:
>
> Auth[User|Group|Digest]File filename [filetype]
>
> e.g.
>
> AuthUserFile /www/dbmdatabase dbm
> AuthGroupFile /www/flatfilegroups standard
>
> In order to do this, I had to make several modifications to the core:
>
> 1. A TAKE12 argument type was added, to supplement TAKE1 and TAKE2. It
>    means a directive can have either one or two arguments.
>
> 2. A directive handler can use "return DECLINE_CMD;" to cause the
>    config-file parser to skip to the next module. This allows
>    mod_auth, mod_auth_dbm and mod_auth_db to all have a handler for
>    AuthUserFile and AuthGroupFile.
>
> Anyhow, here's the patch. It still doesn't let you do digest with DBM
> files (which NCSA does), but it's possible.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76859 13f79535-47bb-0310-9956-ffa450edef68
parent 933b1a35
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment