Apache::Access - A Perl API for Apache request object
META: needs to be completed
use Apache::Access ();
Apache::Access provides the Perl API for Apache request object.
Apache::Access
Apache::Access provides the following functions and/or methods:
allow_options
META: Autogenerated - needs to be reviewed/completed
Retrieve the value of Options for this request
$ret = $r->allow_options();
$r
Apache::RequestRec
The current request
$ret
the Options bitmask
allow_overrides
Retrieve the value of the AllowOverride for this request
$ret = $r->allow_overrides();
the overrides bitmask
get_remote_logname
Retrieve the login name of the remote user. Undef if it could not be determined
$ret = $r->get_remote_logname();
The user logged in to the client machine
note_auth_failure
Setup the output headers so that the client knows how to authenticate itself the next time, if an authentication request failed. This function works for both basic and digest authentication
$r->note_auth_failure();
note_basic_auth_failure
Setup the output headers so that the client knows how to authenticate itself the next time, if an authentication request failed. This function works only for basic authentication
$r->note_basic_auth_failure();
note_digest_auth_failure
Setup the output headers so that the client knows how to authenticate itself the next time, if an authentication request failed. This function works only for digest authentication
$r->note_digest_auth_failure();
satisfies
How the requires lines must be met.
$ret = $r->satisfies();
How the requirements must be met. One of:
Apache::SATISFY_ANY -- any of the requirements must be met. Apache::SATISFY_ALL -- all of the requirements must be met. Apache::SATISFY_NOSPEC -- There are no applicable satisfy lines
some_auth_required
Can be used within any handler to determine if any authentication is required for the current request
$ret = $r->some_auth_required();
1 if authentication is required, 0 otherwise
mod_perl 2.0 documentation.
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
The mod_perl development team and numerous contributors.
To install mod_perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mod_perl
CPAN shell
perl -MCPAN -e shell install mod_perl
For more information on module installation, please visit the detailed CPAN module installation guide.