Date: Sat, 14 Jul 2007 00:34:46 +1000 From: Norberto Meijome <freebsd@meijome.net> To: pj <af.gourmet@videotron.ca> Cc: Schiz0 <schiz0phrenic21@gmail.com>, freebsd-questions@freebsd.org Subject: Re: how to start apache22 without ssl 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>
index | next in thread | previous in thread | raw e-mail
On Fri, 13 Jul 2007 08:35:25 -0400
pj <af.gourmet@videotron.ca> 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.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070714003446.38cd94b0>
