Apache-AuthzUnix
view release on metacpan or search on metacpan
lib/Apache/AuthzUnix.pm view on Meta::CPAN
return 1 if $o & $bit
|| ($uid == $user->uid and $u & ($bit << 6))
|| (($gid == $user->gid or $in_group{$username})
and $g & ($bit << 3));
return 0;
}
1;
__END__
# Below is stub documentation for your module. You'd better edit it!
=head1 NAME
Apache::AuthzUnix - Apache/Apache2 authorization handler for Unix permissions
=head1 SYNOPSIS
PerlModule Apache::AuthzUnix;
<Location ...>
AuthName auth
( run in 0.905 second using v1.01-cache-2.11-cpan-de7293f3b23 )