Apache模块丢失(mod_会话加密)
我在MacOs Sierra上使用Apache2.4.23 我想在我的服务器上配置mod_auth_表单模块。我使用了apache.org文档中的基本配置,但它不工作,服务器无法启动,我得到的错误是: 无效命令“SessionCryptoPassphrase”,可能拼写错误或 由服务器配置中未包含的模块定义 以下是导致此问题的httpd.conf部分:Apache模块丢失(mod_会话加密),apache,httpd.conf,Apache,Httpd.conf,我在MacOs Sierra上使用Apache2.4.23 我想在我的服务器上配置mod_auth_表单模块。我使用了apache.org文档中的基本配置,但它不工作,服务器无法启动,我得到的错误是: 无效命令“SessionCryptoPassphrase”,可能拼写错误或 由服务器配置中未包含的模块定义 以下是导致此问题的httpd.conf部分: <Location "/dologin.html"> SetHandler form-login-handler A
<Location "/dologin.html">
SetHandler form-login-handler
AuthFormLoginRequiredLocation web/login.html
AuthFormLoginSuccessLocation web/beta/index.html
AuthFormProvider file
AuthUserFile /Users/passwords
AuthType form
AuthName "Access with form"
Session On
SessionCookieName session path=/
SessionCryptoPassphrase secret
</Location>
。。。但是我没有Apache版本的模块(我搜索了libexec文件夹)
我可以在哪里下载它以及如何安装它
非常感谢
Mathieu您需要自己编译该指令,或者获取包含该指令的二进制ditribution,但是是的,您显示的错误消息是当提供该指令的模块丢失/未加载时。@ezra-s感谢您的回答。你知道我在哪里可以找到要编译的模块或二进制发行版吗。我正在努力用谷歌找到它?当然,谢谢你了,http://httpd.apache.org
LoadModule session_crypto_module libexec/apache2/mod_session_crypto.so