Apache2_4::AuthzCaps - mod_perl2 capability authorization for Apache 2.4
# In Apache2 config PerlAddAuthzProvider cap Apache2_4::AuthzCaps <Location /protected> # Insert authentication here PerlSetVar AuthzCapsRootdir /path/to/user/directory Require cap staff important Require cap admin </Location> # This will: # 1) Let important staff members access /protected # 2) Let admins access /protected # 3) Not let anyone else (such as an important non-staff member or an non-important staff member) access /protected
Apache2_4::AuthzCaps is a modification of Apache2::AuthzCaps for Apache 2.4. See that module's documentation for helper functions and more information.
Marius Gavrilescu, <marius@ieval.ro>
Copyright (C) 2013-2015 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install Apache2::AuthzCaps, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::AuthzCaps
CPAN shell
perl -MCPAN -e shell install Apache2::AuthzCaps
For more information on module installation, please visit the detailed CPAN module installation guide.