缺少Apache 2.4 mod_auth_form

时间:2016-01-08 11:22:29

标签: apache basic-authentication

我在Centos 7上运行Apache 2.4。现在我需要mod_auth_form模块,因为无法找到指令 AuthFormLogoutLocation 。 现在它既未安装也无法在 yum search mod_auth 列表中找到它:

$ locate modules/mod_auth
/usr/lib64/httpd/modules/mod_auth_basic.so
/usr/lib64/httpd/modules/mod_auth_digest.so
/usr/lib64/httpd/modules/mod_authn_anon.so
/usr/lib64/httpd/modules/mod_authn_core.so
/usr/lib64/httpd/modules/mod_authn_dbd.so
/usr/lib64/httpd/modules/mod_authn_dbm.so
/usr/lib64/httpd/modules/mod_authn_file.so
/usr/lib64/httpd/modules/mod_authn_socache.so
/usr/lib64/httpd/modules/mod_authnz_ldap.so
/usr/lib64/httpd/modules/mod_authz_core.so
/usr/lib64/httpd/modules/mod_authz_dbd.so
/usr/lib64/httpd/modules/mod_authz_dbm.so
/usr/lib64/httpd/modules/mod_authz_groupfile.so
/usr/lib64/httpd/modules/mod_authz_host.so
/usr/lib64/httpd/modules/mod_authz_owner.so
/usr/lib64/httpd/modules/mod_authz_user.so

$ yum search mod_auth
...
===== N/S matched: mod_auth ======
ipsilon-authgssapi.noarch : mod_auth_gssapi based login plugin
mod_auth_gssapi.x86_64 : A GSSAPI Authentication module for Apache
mod_auth_kerb.x86_64 : Kerberos authentication module for HTTP
mod_auth_mellon.x86_64 : A SAML 2.0 authentication module for the Apache Httpd Server
mod_auth_ntlm_winbind.x86_64 : NTLM authentication for the Apache web server using winbind daemon
mod_auth_openid.x86_64 : OpenID authentication for apache
mod_authnz_external.x86_64 : An Apache module used for authentication
mod_authnz_pam.x86_64 : PAM authorization checker and PAM Basic Authentication provider
pwauth.x86_64 : External plugin for mod_authnz_external authenticator

知道我还能在哪里搜索?

1 个答案:

答案 0 :(得分:4)

我有同样的问题已经搜索了很长时间 事实证明你需要安装它。

我在CentOS7上使用apache 2.4.5,执行:

yum install mod_session
yum install mod_form

然后重新启动服务器,您将在apache模块目录中看到mod_auth_form.somod_session.so(和cookie)。