免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1412 | 回复: 0
打印 上一主题 下一主题

配置httpd.conf中LoadModule出现的错误解决方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-03 09:26 |只看该作者 |倒序浏览
Invalid command 'LoadModule' with the Apache Server
I just changed the configuration of my Web server when I encountered the problem in the title. Obviously, when I recompiled the server from the source optained from
http://www.apache.org/
and
http://www.apache-ssl.org/
, I somehow managed to make it "forget" the LoadModule command. But how?
A quick search on the Web turned up a few dozen documents, but they were either questions posted to mailing lists or newsgroups without answers, or answers that were meaningless. Finally, I found the answer at the Web site of
Halcyon Software
.
The problem, it turns out, is that prior to recompiling the Apache server, you need to use the --enable-module=so option when running the configuration script for the Apache source. So to recompile the Apache server, you need to do the following:
cd /usr/src/apache
./configure --prefix=/var/lib/apache --enable-module=so
make clean
make install
Needless to say, you may require additional options when running configure, options that match your operating system and desired server configuration settings. On some systems, it may also be necessary to add --enable-rule=SHARED_CORE.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/54857/showart_455549.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP