From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 14:34:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1505B16A402 for ; Fri, 13 Jul 2007 14:34:51 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id D2DE213C4A3 for ; Fri, 13 Jul 2007 14:34:50 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 27068 invoked from network); 13 Jul 2007 09:34:50 -0500 Received: from 203-206-236-35.dyn.iinet.net.au (HELO localhost) (203.206.236.35) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Jul 2007 09:34:50 -0500 Date: Sat, 14 Jul 2007 00:34:46 +1000 From: Norberto Meijome To: pj Message-ID: <20070714003446.38cd94b0@localhost> In-Reply-To: <4697718D.8010102@videotron.ca> References: <46952078.10809@videotron.ca> <8d23ec860707111323u15ba2e4td9eacad0e82c65c1@mail.gmail.com> <46959377.3080304@videotron.ca> <20070713114623.5918fc69@localhost> <4697718D.8010102@videotron.ca> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Schiz0 , freebsd-questions@freebsd.org Subject: Re: how to start apache22 without ssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 14:34:51 -0000 On Fri, 13 Jul 2007 08:35:25 -0400 pj wrote: > My only question now is: Why is httpd running with -DNOHTTPACCEPT ? How > does this affect apache22's operation? It tells Apache not to try to access the kernel HTTP Accept module. Unless you load accf_http (and, optionally, accf_data), you'll get that parameter added to Apache's command line. For example, [luser@projects] [Sat Jul 14 00:16:08 2007] ~ $ kldstat Id Refs Address Size Name 1 7 0xc0400000 6f6668 kernel 2 1 0xc0af7000 2364 accf_http.ko 3 1 0xc0afa000 3f7c vmxnet.ko 4 1 0xc0afe000 59f20 acpi.ko 5 1 0xc2db8000 d000 ipfw.ko 6 1 0xc3393000 2000 accf_data.ko [luser@projects] [Sat Jul 14 00:16:10 2007] ~ $ ps xa | grep htt 2367 ?? Ss 0:25.84 /usr/local/sbin/httpd -k start 2369 ?? I 0:01.60 /usr/local/sbin/httpd -k start 2370 ?? I 0:01.37 /usr/local/sbin/httpd -k start 2371 ?? I 0:01.73 /usr/local/sbin/httpd -k start 2372 ?? I 0:01.75 /usr/local/sbin/httpd -k start 2373 ?? I 0:01.26 /usr/local/sbin/httpd -k start 2374 ?? I 0:02.02 /usr/local/sbin/httpd -k start 2387 ?? I 0:01.74 /usr/local/sbin/httpd -k start 2388 ?? I 0:02.02 /usr/local/sbin/httpd -k start 10235 ?? I 0:01.34 /usr/local/sbin/httpd -k start 33166 p0 S+ 0:00.01 grep htt 1291 p2 I+ 0:00.01 tail -f /var/log/httpd-projects-error_log For more info, see the following man pages $ apropos accf accf_data(9) - buffer incoming connections until data arrives accf_http(9) - buffer incoming connections until a certain complete HTTP requests arrive _________________________ {Beto|Norberto|Numard} Meijome "Those who do not remember the past are condemned to repeat it." George Santayana I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.