BSD Ports

www/thttpd 2.29_1 MidnightBSD

Tiny/turbo/throttling HTTP server with CGI support

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
www

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
MidnightBSDwww/thttpd2.29_1
FreeBSDwww/thttpd2.29_1
NetBSDwww/thttpd2.29
DragonFlywww/thttpd2.29_1
HardenedBSDwww/thttpd2.29_1
GhostBSDwww/thttpd2.29_1

Install

Binary package:

mport install thttpd

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	thttpd>0:www/thttpd

Dependencies

No port depends on this one.

Configuration

Options name: www_thttpd

OptionDefaultDescription
FLUSH_LOGonfflush() the log file after each request
HTACCESSoffIP-based authorization (.htaccess) support
INDEXESoffGenerate index pages for directories
LOG_UNKNOWNoffLog unknown request headers
REAL_IPonRespect (pass on) "X-Forwarded-For" header
SENDFILEonUse sendfile(2) to serve files
STATSonCollect internal stats and print to system log
USES
cpe
Service scripts
thttpd

Files

Manual pages 6
  • makeweb(1)
  • redirect(8)
  • ssi(8)
  • syslogtocern(8)
  • thtpasswd(1)
  • thttpd(8)
pkg-plist 15
  • etc/newsyslog.conf.d/thttpd.conf
  • @sample etc/thttpd.conf.sample
  • share/man/man1/makeweb.1.gz
  • share/man/man1/thtpasswd.1.gz
  • share/man/man8/redirect.8.gz
  • share/man/man8/ssi.8.gz
  • share/man/man8/syslogtocern.8.gz
  • share/man/man8/thttpd.8.gz
  • sbin/makeweb
  • sbin/syslogtocern
  • sbin/thttpd
  • sbin/thtpasswd
  • www/thttpd/cgi-bin/phf
  • www/thttpd/cgi-bin/redirect
  • www/thttpd/cgi-bin/ssi
distinfo 1
FileSizeSHA256
thttpd-2.29.tar.gz13396799c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397
Master sites 1
  • http://www.acme.com/software/thttpd/