config.m4 revision 83966c75d36cc4daef61f66509ead1f019a29e2b
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunningtondnl modules enabled in this directory by default
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl Authentication (authn), Access, and Authorization (authz)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODPATH_INIT(aaa)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl Authentication modules; modules checking a username and password against a
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl file, database, or other similar magic.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authn_file, file-based authentication control, , , yes)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authn_dbm, DBM-based authentication control, , , most)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authn_anon, anonymous user authentication control, , , most)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl - and just in case all of the above punt; a default handler to
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl keep the bad guys out.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authn_default, authentication backstopper, , , yes)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl Authorization modules: modules which verify a certain property such as
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl membership of a group, value of the IP address against a list of pre
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl configured directives (e.g. require, allow) or against an external file
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl or database.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authz_host, host-based authorization control, , , yes)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authz_groupfile, 'require group' authorization control, , , yes)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonAPACHE_MODULE(authz_user, 'require user' authorization control, , , yes)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authz_dbm, DBM-based authorization control, , , most)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl - and just in case all of the above punt; a default handler to
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl keep the bad guys out.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODULE(authz_default, authorization control backstopper, , , yes)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterdnl these are the front-end authentication modules
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonAPACHE_MODULE(auth_basic, basic authentication, , , yes)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonAPACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster ap_old_cppflags=$CPPFLAGS
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster CPPFLAGS="$CPPFLAGS $INCLUDES"
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster AC_TRY_COMPILE([#include <apr.h>], [
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster#if !APR_HAS_RANDOM
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster#error You need APR random support to use mod_auth_digest.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster#endif], , enable_auth_digest=no)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster CPPFLAGS=$ap_old_cppflags
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster])
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPR_ADDTO(LT_LDFLAGS,-export-dynamic)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan FosterAPACHE_MODPATH_FINISH
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster