在哪里我的Apache模块得到安装 [英] Where did my apache module get installed
问题描述
我试图让围观的Apache连接器的工作。我已经安装的模块。如果我做了百胜信息
它告诉我,它的安装。如果我做的httpd -M
它的上市为共享模块。但是,它不是在阿帕奇/模块/
当我尝试的LoadModule
在pre主要包括,我得到的错误,因为它不存在,不能将其加载到服务器中。
试图加载模块后错误:
的文件/usr/local/apache/conf/includes/$p$p_main_global.conf.tmp的1号线检测配置问题:无法加载在/ usr /本地/ Apache /模块/ mod_authnz_crowd.so到服务器:/usr/local/apache/modules/mod_authnz_crowd.so:无法打开共享对象文件:没有这样的文件或目录---在/ usr /本地/ Apache / conf目录/包括/ pre_main_global .conf.tmp --- 1 ===>的LoadModule authnz_crowd_module模块/ mod_authnz_crowd.so< === 2LoadModule authz_svn_crowd_module模块/ mod_authz_svn_crowd.so --- /usr/local/apache/conf/includes/$p$p_main_global.conf.tmp ---
我想通了。重新安装后,我检查了httpd.conf文件,发现这是它安装到:
/usr/lib64/httpd/modules/mod_authnz_crowd.so
知道我能得到它的工作。
I'm trying to get Crowd Apache Connector working. I've installed the modules. If I do a yum info
it tells me that it's installed. If I do httpd -M
it's listed as a shared module. However, it's not in apache/modules/
When I try the LoadModule
in the pre main include, I get the error that it cannot load it into the server because it doesn't exist.
The error after trying to load the module:
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 ---
I figured it out. After reinstalling it, I checked the httpd.conf file and found that it was installing it to:
/usr/lib64/httpd/modules/mod_authnz_crowd.so
Knowing that I was able to get it working.
这篇关于在哪里我的Apache模块得到安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!