On Fri, 13 Jul 2007 08:35:25 -0400
pj <[EMAIL PROTECTED]> 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, 

[EMAIL PROTECTED] [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

[EMAIL PROTECTED] [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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to