赞助连接

赞助连接

阅 读 文 章

apache奇怪的问题,偶滴个神啊~~~

[来源:网上转载 (http://bbs.chinaunix.net) | 作者:网友() | 时间:2007-06-21 | 浏览:人次 ]



# Language settings
#Include etc/apache21/extra/httpd-languages.conf

# User home directories
#Include etc/apache21/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include etc/apache21/extra/httpd-info.conf

# Virtual hosts
#Include etc/apache21/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include etc/apache21/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include etc/apache21/extra/httpd-dav.conf

# Various default settings
#Include etc/apache21/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include etc/apache21/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include etc/apache21/Includes/*.conf

[warn] (2)No such file or directory:
Failed to enable the ‘httpready’ Accept Filter

The resolution to the above problem is to a accf_http module, which function is to buffer incoming connections until a certain complete HTTP requests arrive, into FreeBSD kernel by using kernel linker:

kldload accf_http

To permanently load enable HTTP Accept Filter FreeBSD kernel module (accf_http), add the following line into /boot/loader.conf:

accf_http_load=”YES”

Note: The default settings is located in /boot/defaults/loader.cnf. To see the related settings about accf, use:

grep accf /boot/defaults/loader.conf

which will returns:

accf_data_load=”NO” # Wait for data accept filter
accf_http_load=”NO” # Wait for full HTTP request accept filter


(2)No such file or directory: Failed to enable the 'httpready' Accept Filter
出现该问题的原因,是因为系统没有加载accf_http.ko和accf_data.ko
解决方法:(确保src与你的当前系统对应)

CODE:
[Copy to clipboard]

cd /usr/src/sys/modules/accf_data;make clean;make;make install;make clean;kldload accf_data
cd /usr/src/sys/modules/accf_http;make clean;make;make install;make clean;kldload accf_http
打开/etc/rc.conf设置:

CODE:
[Copy to clipboard]


accf_data_load="YES"
accf_http_load="YES"

apache22_enable="YES"   
apache22_http_accept_enable="YES"



大大狗好强啊。佩服佩服………………

貌似现在的女强人真叫人感到害怕。

现在,又一块男性的高地,被一个名叫大大狗的娘子占领了。……

确实很强啊。


显然是装女人

TAG标签 : 问题 奇怪 the to LoadModule you be server and for

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.