Apache::AuthenDBI - Authenticate via Perl DBI
#httpd.conf or srm.conf PerlModule Apache::AuthenDBI #.htaccess AuthName DBI AuthType Basic #authenticate via DBI PerlAuthenHandler Apache::AuthenDBI::handler PerlSetVar AuthDBIDB dbname PerlSetVar AuthDBIUser username PerlSetVar AuthDBIAuth password PerlSetVar AuthDBIDriver Oracle #DBI->connect(qw(AuthDBIDB AuthDBIUser AuthDBIAuth AuthDBIDriver)) PerlSetVar AuthDBIUserTable www_users PerlSetVar AuthDBINameField user PerlSetVar AuthDBIPasswordField password
<Limit GET POST> require valid-user </Limit>
Apache::AuthenDBI is a replacement for mod_auth_dbi, allowing the apache server to authenticate via Perl's DBI.
This handler authenticates against a database such as Oracle, DB2, Sybase, and others supported by the DBI module. For supported drivers see: http://www.hermetica.com/technologia/DBI
This handler users HTTPD::UserAdmin to lookup the username and password. This may change.
Apache(3), HTTPD::UserAdmin(3), DBI(3)
Doug MacEachern <dougm@osf.org>
To install Apache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache
CPAN shell
perl -MCPAN -e shell install Apache
For more information on module installation, please visit the detailed CPAN module installation guide.