官方连个回话都没有,真行。
自己解决吧。
yum install -y expat-devel openldap-devel
./configure --prefix=/www/server/apache --enable-mods-shared=most --enable-headers --enable-mime-magic --enable-proxy --enable-so --enable-rewrite --with-ssl=/usr/local/openssl --with-nghttp2=/usr/local/nghttp2 --enable-ssl --enable-deflate --with-pcre --with-included-apr --with-apr-util --enable-mpms-shared=all --enable-nonportable-atomics=yes --enable-remoteip --enable-http2 --enable-lua --with-ldap-include=/usr/include/ --with-ldap-lib=/usr/lib --with-ldap
完成后,修改httpd.conf文件,增加:
#imoke_start
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
#imoke_end |