Date: Fri, 13 Jul 2007 13:27:41 -0400 From: pj <af.gourmet@videotron.ca> To: Norberto Meijome <freebsd@meijome.net> Cc: Schiz0 <schiz0phrenic21@gmail.com>, freebsd-questions@freebsd.org Subject: Re: how to start apache22 without ssl Message-ID: <4697B60D.2080808@videotron.ca> In-Reply-To: <20070714003446.38cd94b0@localhost> References: <46952078.10809@videotron.ca> <8d23ec860707111323u15ba2e4td9eacad0e82c65c1@mail.gmail.com> <46959377.3080304@videotron.ca> <20070713114623.5918fc69@localhost> <4697718D.8010102@videotron.ca> <20070714003446.38cd94b0@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Norberto Meijome wrote: > 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. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Somethings isn't quite right here. It was suggested I load the accf_http from the /boot/loader.conf file. I did. So, now I removed the line from /boot/loader.conf; it is empty of any directives. I rebooted and accf_http.ko is no longer in the kernel - according to kldstat. ps xa | grep htt gives .... /usr/local/sbin/httpd - DNOHTTPACCEPT Something is fishy here... any thoughts? Why me? I always seem to get these weird anomalies... :( Phil
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4697B60D.2080808>