Apache::AuthzUnix - Apache/Apache2 authorization handler for Unix permissions
PerlModule Apache::AuthzUnix; <Location ...> AuthName auth AuthType Basic AuthBasicProvider ldap PerlAuthzHandler Apache::AuthzUnix::authz # Don't need a "requires" line </Location>
This module was written to provide authorization for DAV access to home directories, but probably has other uses in the UserDir space.
UserDir
Assuming that Apache has authenticated a user, this module helps to determine whether or not that user can read (or write) a file on the filesystem. It applies standard Unix user and group tests on the file's permissions to determine read access and, in the case of PUT and DELETE methods, write access. If the file does not exist, then the containing directory is tested, as one would expect.
PUT
DELETE
This module is designed work on both mod_perl versions 1 and 2.
Simon Cozens, <simon@simon-cozens.org>
Copyright (C) 2007 by Simon Cozens
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Apache::AuthzUnix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::AuthzUnix
CPAN shell
perl -MCPAN -e shell install Apache::AuthzUnix
For more information on module installation, please visit the detailed CPAN module installation guide.