The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::AuthzAge - Authorize based on age

SYNOPSIS

 #server config file

 PerlModule Apache::AuthzAge

 #access control directives

 #use standard authentication modules
 AuthName SomeRealm
 Auth[DBM]UserFile /path/to/password/file
 
 PerlAuthzHandler Apache::AuthzAge::handler
 PerlSetVar       UserAgeFile  /path/to/dbm_file

 #user must be at least 21
 <Limit GET>
 require age 21
 </Limit>

DESCRIPTION

Decide if an authenticated user is authorized to complete a request based on age.

UserAgeFile is a dbm file consisting of username = age value pairs.

SEE ALSO

Apache(3)

AUTHOR

Doug MacEachern <dougm@osf.org>