BSD Ports

www/thttpd 2.29_1 DragonFly

Tiny/turbo/throttling HTTP server with CGI support

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
www
Package size
64.4 KiB, 153.0 KiB installed

Description

thttpd is a simple, small, portable, fast, and secure HTTP server.

  • Simple: It handles only the minimum necessary to implement HTTP/1.1.

  • Small: It also has a very small run-time size, since it does not fork and is very careful about memory allocation.

  • Portable: It compiles cleanly on SunOS 4.1.x, Solaris 2.x, BSD/OS 2.x, Linux 1.2.x, and OSF/1 (on a 64-bit Alpha).

  • Fast: In typical use it's about as fast as the best full-featured servers (Apache, NCSA, Netscape). Under extreme load it's much faster.

  • Secure: It goes to great lengths to protect the web server machine against attacks and breakins from other sites.

It also has one extremely useful feature (URL-traffic-based throttling) that no other server currently has.

In the other systems

SystemPortVersion
DragonFlywww/thttpd2.29_1
FreeBSDwww/thttpd2.29_1
NetBSDwww/thttpd2.29
MidnightBSDwww/thttpd2.29_1
HardenedBSDwww/thttpd2.29_1
GhostBSDwww/thttpd2.29_1

Install

Binary package:

pkg install thttpd

From DPorts:

cd /usr/dports/www/thttpd && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

If you want users to be able to create their own web
subdirectories off of the main web directory, you need to:

  1. Add a group for www admins (or use "www")
  2. chgrp thatgroup /usr/local/sbin/makeweb /usr/local/www/thttpd
  3. chmod g+sx /usr/local/sbin/makeweb
  4. Tell users about makeweb(1)

See http://www.acme.com/software/thttpd/notes.html for more
detailed instructions.