FreeBSD Apache 2.2 httpready Accept Filter Error

When Apache web server is starting up in FreeBSD system, Apache loads succcessfully and web server functioning properly, but the following warning error occurs:

[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:

#pico /boot/loader.conf

##Find accf_http_load and change it to YES
accf_http_load=”YES”

##save this file

Start Apache 2

#/usr/local/sbin/apachectl start

Facebook Fans