我的 apache 模块在哪里安装
Where did my apache module get installed
我正在尝试让 Crowd Apache Connector 正常工作。我已经安装了模块。如果我执行 yum info
它会告诉我它已安装。如果我这样做 httpd -M
它被列为共享模块。但是,它不在 apache/modules/
中
当我在 pre main include 中尝试 LoadModule
时,我收到错误消息,因为它不存在,所以无法将其加载到服务器中。
尝试加载模块后的错误:
Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/pre_main_global.conf.tmp: : Cannot load /usr/local/apache/modules/mod_authnz_crowd.so into server: /usr/local/apache/modules/mod_authnz_crowd.so: cannot open shared object file: No such file or directory --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp --- 1 ===> LoadModule authnz_crowd_module modules/mod_authnz_crowd.so <=== 2LoadModule authz_svn_crowd_module modules/mod_authz_svn_crowd.so --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp ---
我明白了。重装后查看httpd.conf文件,发现是安装到:
/usr/lib64/httpd/modules/mod_authnz_crowd.so
知道我能够让它工作。
我正在尝试让 Crowd Apache Connector 正常工作。我已经安装了模块。如果我执行 yum info
它会告诉我它已安装。如果我这样做 httpd -M
它被列为共享模块。但是,它不在 apache/modules/
当我在 pre main include 中尝试 LoadModule
时,我收到错误消息,因为它不存在,所以无法将其加载到服务器中。
尝试加载模块后的错误:
Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/pre_main_global.conf.tmp: : Cannot load /usr/local/apache/modules/mod_authnz_crowd.so into server: /usr/local/apache/modules/mod_authnz_crowd.so: cannot open shared object file: No such file or directory --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp --- 1 ===> LoadModule authnz_crowd_module modules/mod_authnz_crowd.so <=== 2LoadModule authz_svn_crowd_module modules/mod_authz_svn_crowd.so --- /usr/local/apache/conf/includes/pre_main_global.conf.tmp ---
我明白了。重装后查看httpd.conf文件,发现是安装到:
/usr/lib64/httpd/modules/mod_authnz_crowd.so
知道我能够让它工作。