Shweb is a tiny web server written in shell script, POSIX compliant with most used small unix shell interpreters, like ash (busybox included), dash, and bash also. Support for static pages. Works in conjunction with any superdaemon like [x]inetd.
This one you must see! After stripping out
comments, you get ca. 2Kb script. Serves static
HTML/ASCII pages, ELF binaries, bash/perl scripts,
GIF images. adding any other content type is
trivial. Should be installed in /etc/inetd.conf.