NAME
Apache::AuthenDBI - Authenticate via Perl DBI
SYNOPSIS
#httpd.conf or srm.conf
PerlModule Apache::AuthenDBI
#.htaccess
AuthName DBI
AuthType Basic
#authenticate via DBI
PerlAuthenHandler Apache::AuthenDBI
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>
DESCRIPTION
Apache::AuthenDBI is a replacement for mod_auth_dbi, allowing the apache server to authenticate via Perl's DBI.
HANDLERS
- Apache::AuthenDBI::handler
-
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.
SEE ALSO
Apache(3), HTTPD::UserAdmin(3), DBI(3)
AUTHOR
Doug MacEachern <dougm@osf.org>