[Soekris] small web server w/cgi-bin for net4501?
James Golovich
james at wwnet.net
Mon Apr 8 06:44:17 UTC 2002
On Sun, 7 Apr 2002, Darryl Okahata wrote:
> Does anyone know of a small web server with cgi-bin support that I
> can run on the net4501? I suppose I could build a minimal apache
> distribution, but I'm a bit concerned about the memory footprint. I've
> already shrunk the ramdisk down to 8000 (and I may have to install cron
> to keep the logfiles in check). I've found small http servers, but none
> with cgi-bin support.
>
I've had good luck with mini_httpd
(http://www.acme.com/software/mini_httpd/)
-rwxr-xr-x 1 james james 32848 Apr 8 02:38 mini_httpd
32k and it does https (dynamically linked to libssl + libcrypto)
I just rebuilt it without https and its 30800. Not a huge savings,
but if you already have the crypto libs for ssh you might as well go for
https.
from the README:
mini_httpd - small HTTP server
version 1.15c of 02may2001
mini_httpd is a small HTTP server. Its performance is not great, but for
low or medium traffic sites it's quite adequate. It implements all the
basic features of an HTTP server, including:
* GET, HEAD, and POST methods.
* CGI.
* Basic authentication.
* Security against ".." filename snooping.
* The common MIME types.
* Trailing-slash redirection.
* index.html, index.htm, index.cgi
* Directory listings.
* Multihoming / virtual hosting.
* Standard logging.
* Custom error pages.
....
James
More information about the Soekris-tech
mailing list