Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README

darkhttpd is a simple and secure static HTTP server.

Features:

* Single binary, no other files.
* Standalone, doesn't need inetd or ucspi-tcp.
* No messing around with config files -- all you have to specify is
  the www root.
* Written in C -- efficient and portable.
* Small memory footprint.
* Event loop, single-threaded -- no fork() or pthreads.
* Generates directory listings.
* Supports HTTP GET and HEAD requests.
* Supports Range / partial content. (Try streaming music files or
  resuming a download.)
* Supports If-Modified-Since.
* Supports Keep-Alive connections.
* Can serve 301 redirects based on Host header.
* Uses sendfile() on FreeBSD, Solaris and Linux.
* BSD license.

Security:

* Can log accesses, including Referer and User-Agent.
* Can chroot.
* Can drop privileges.
* Impervious to /../ sniffing.
* Times out idle connections.
* Drops overly long requests.

Limitations:

* Only serves static content -- no CGI.

Configuration:

You need to configue the darkhttpd using the file

    /etc/default/darkhttpd

Them can start add rc.darkhttpd into rc.local

    # Start the darkhttpd server:
    if [ -x /etc/rc.d/rc.darkhttpd ]; then
        /etc/rc.d/rc.darkhttpd start
    fi

Icon  Name                    Last modified      Size  Description
[<--] Parent Directory - [!!!] README 2026-05-23 11:52 1.2K [SPT] darkhttpd.SlackBuild 2025-07-26 03:57 3.6K [   ] darkhttpd.info 2025-07-26 03:57 304 [TXT] default.darkhttpd 2025-02-08 02:38 751 [SPT] doinst.sh 2025-02-08 02:38 698 [HTM] index.html 2025-02-08 02:38 1.9K [TXT] rc.darkhttpd 2025-02-08 02:38 1.3K [TXT] slack-desc 2018-06-14 15:01 960
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.10 Gbit/s  10 Gbit/s