From owner-freebsd-questions@FreeBSD.ORG Sat Aug 19 15:57:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86AEE16A4DA; Sat, 19 Aug 2006 15:57:20 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13A3443D45; Sat, 19 Aug 2006 15:57:20 +0000 (GMT) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 56A3A10E626; Sat, 19 Aug 2006 17:57:12 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oPIIqPRXu3Cc; Sat, 19 Aug 2006 17:57:10 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 8F71B10E56D; Sat, 19 Aug 2006 17:57:10 +0200 (CEST) Date: Sat, 19 Aug 2006 17:57:08 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.62.14) Professional Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <852003734.20060819175708@rulez.sk> To: =?iso-8859-1?Q?G=E1bor_K=F6vesd=E1n?= In-Reply-To: <44E73072.40205@FreeBSD.org> References: <7.0.1.0.2.20060819112042.06a847b0@msdi.ca> <44E73072.40205@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Ian Lord Subject: Re[2]: Apache 2.2 http accept filter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 15:57:20 -0000 Hello G=E1bor, Saturday, August 19, 2006, 5:38:26 PM, you wrote: > Ian Lord wrote: >> Hi, >> >> When I start apache2.2, I get the following error: >> >> [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed= =20 >> to enable the 'httpready' Accept Filter >> [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed= =20 >> to enable the 'httpready' Accept Filter >> [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed= =20 >> to enable the 'httpready' Accept Filter >> >> Here is my config >> In /etc/rc.conf: >> apache22_enable=3D"YES" >> apache22 ssl_enable=3D"YES" >> apache22_http_accept_enable=3D"YES" >> >> In /usr/local/etc/apache22/httpd.conf: >> AcceptFilter http httpready >> AcceptFilter https dataready >> >> Is there anything I am missing in the kernel or somewhere ? >> Also, is it better to run with or without httpready ? I read it was=20 >> better performance wide to use it >> >> Thanks a lot >> > Yes, you have to put these two lines into your kernel config: > options ACCEPT_FILTER_HTTP > options ACCEPT_FILTER_DATA > Alternatively, you can load the appropriate kernel modules as well. well, the apache22_http_accept_enable=3D"YES" should do this for him, but it seems like the problems stands elsewhere. Ian, are you sure that these modules are present under the /boot/modules directory? > I think it's better to use these, you might gain a bit in the=20 > performance as you wrote. --=20 Best regards, Daniel mailto:danger@FreeBSD.org