1 dnl modules enabled in this directory by default
3 dnl Authentication (authn), Access, and Authorization (authz)
5 dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
7 APACHE_MODPATH_INIT(aaa)
9 dnl Authentication modules; modules checking a username and password against a
10 dnl file, database, or other similar magic.
12 APACHE_MODULE(authn_file, file-based authentication control, , , yes)
13 APACHE_MODULE(authn_dbm, DBM-based authentication control, , , most)
14 APACHE_MODULE(authn_anon, anonymous user authentication control, , , most)
15 APACHE_MODULE(authn_dbd, SQL-based authentication control, , , most)
16 APACHE_MODULE(authn_socache, Cached authentication control, , , most)
18 dnl General Authentication modules; module which implements the
19 dnl non-authn module specific directives.
21 APACHE_MODULE(authn_core, core authentication module, , , yes)
23 dnl Authorization modules: modules which verify a certain property such as
24 dnl membership of a group, value of the IP address against a list of pre
25 dnl configured directives (e.g. require, allow) or against an external file
28 APACHE_MODULE(authz_host, host-based authorization control, , , yes)
29 APACHE_MODULE(authz_groupfile, 'require group' authorization control, , , yes)
30 APACHE_MODULE(authz_user, 'require user' authorization control, , , yes)
31 APACHE_MODULE(authz_dbm, DBM-based authorization control, , , most)
32 APACHE_MODULE(authz_owner, 'require file-owner' authorization control, , , most)
33 APACHE_MODULE(authz_dbd, SQL based authorization and Login/Session support, , , most)
35 dnl General Authorization modules; provider module which implements the
36 dnl non-authz module specific directives.
38 APACHE_MODULE(authz_core, core authorization provider vector module, , , yes)
40 dnl LDAP authentication module. This module has both the authn and authz
41 dnl modules in one, so as to share the LDAP server config directives.
42 APACHE_MODULE(authnz_ldap, LDAP based authentication, , , most, [
43 APACHE_CHECK_APR_HAS_LDAP
44 if test "$ac_cv_APR_HAS_LDAP" = "yes" ; then
45 if test -z "$apu_config" ; then
46 LDAP_LIBS="`$apr_config --ldap-libs`"
48 LDAP_LIBS="`$apu_config --ldap-libs`"
50 APR_ADDTO(MOD_AUTHNZ_LDAP_LDADD, [$LDAP_LIBS])
51 AC_SUBST(MOD_AUTHNZ_LDAP_LDADD)
53 AC_MSG_WARN([apr/apr-util is compiled without ldap support])
58 dnl FastCGI authorizer interface, supporting authn and authz.
59 APACHE_MODULE(authnz_fcgi,
60 FastCGI authorizer-based authentication and authorization, , , no)
62 dnl - host access control compatibility modules. Implements Order, Allow,
63 dnl Deny, Satisfy for backward compatibility. These directives have been
64 dnl deprecated in 2.4.
65 APACHE_MODULE(access_compat, mod_access compatibility, , , yes)
67 dnl these are the front-end authentication modules
69 APACHE_MODULE(auth_basic, basic authentication, , , yes)
70 APACHE_MODULE(auth_form, form authentication, , , most)
71 APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
72 APR_CHECK_APR_DEFINE(APR_HAS_RANDOM)
73 if test $ac_cv_define_APR_HAS_RANDOM = "no"; then
74 echo "You need APR random support to use mod_auth_digest."
75 echo "Look at APR configure options --with-egd and --with-devrandom."
76 enable_auth_digest="no"
80 APACHE_MODULE(allowmethods, restrict allowed HTTP methods, , , most)
81 APACHE_MODULE(allowhandlers, restrict allowed handlers, , , most)
83 APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])