SlackBuilds Repository

15.0 > Network > darkhttpd (1.16)

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

Maintained by: Yth - Arnaud
Keywords: web server,http,httpd,www,server
ChangeLog: darkhttpd

Homepage:
https://unix4lyfe.org/darkhttpd/

Source Downloads:
darkhttpd-1.16.tar.gz (ba8928e866ebcb9691a0cdd3b504b3c3)

Download SlackBuild:
darkhttpd.tar.gz
darkhttpd.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2025 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds