[TriLUG] khttpd ?

Adrian Likins alikins at redhat.com
Tue Mar 26 15:56:47 EST 2002


On Tue, Mar 26, 2002 at 03:32:19PM -0500, Jeremy P wrote:
> 
> I was reading through some old press releases on the 2.4 kernel, and found
> a number of ereferences to something caleld "khttpd" which is supposed to
> be a "Kernel web daemon".  It looks like kttpd is a kernel module, and all
> configuration is done by echo'ing stuff to appropriate locations in
> /proc/sys/net/khttpd/ .  It works by responding to all web requests for
> static files; dynamic content requests are then passed on to your nomal
> web server.  In the latter case kttpd acts apparently acts as a proxy.
> 
> Does anyone use this?  How does it get along with more complex features of
> Apache (rewrite rules, SSL, authentication, etc)?  Or is this another one
> of those "good ideas" that never really got seriously implemented?
> 

	I fiddle with it for a while. It was a good idea at first,
but eventually, it got to the point where a fast userspace web
server (thttpd,boa, etc) is just as fast as khttpd on 2.4. One
thing that khttpd does seem to get occasionally used for is
pseudo-embedded applications, since it is very lightweight.

	As far as speed goes, it's not all that hot. As mentioned,
fast userspace servers are essentially just as quick, and Tux/Red Hat
Content Accelerator blows it out of the water on big hardware. 

	It should just ignore ssl connections (different port),
and everything else it can redirect to a running apache, so should
work with all the weird and wondrous apache features. 

Adrian

	



More information about the TriLUG mailing list