sardine
Sardine
Sardine is yet another minimalistic web server written in portable C. It's currently completely experimental but still pretty usable, especially as an ad-hoc web server as it doesn't require much configuration. The source code might also be useful as base for a more complex server. Sardine is currently known to work on NetBSD and IRIX.
Most of the HTTP code is shared with GhostWhiteCrab. Sardine is distributed under a BSD-style license (MIT license).
Features
Sardine is meant to be simplistic but it has some features not necessarily expected from a really simple web server:
Support for virtual hosts. This means you can configurate Sardine to serve several domains or hosts. The first relative directory level is then used to multiplex between the different hostnames.
Support for multipart/byteranges.
Large files (that means files larger than 2 GiB and 4 GiB) are of course properly handled - unless your operating system doesn't support them.
IPv6 support.
Configuration
The configuration of Sardine is really simple. Please, see the example configuration for details about available options. Sardine will use ~/.sardine.conf by default as path to the configuration file. You can use the command-line option -f /path/to/sardine.conf to use a different path. The path must be an absolute one.
Download
sardine-0.1.tar.bz2 [HTTP] [Signature]
Mirror [HTTP] [Signature]
Contact
If you have any problems with the software or suggestions, let me know:
christianbiere at gmx dot de
[encrypted mail is welcome: my OpenPGP key]
Last edited: 2005-08-29