mohawk

Top-level Files of tip
Login

Files in the top-level directory from the latest check-in


	            mohawk - small HTTP server

mohawk is a small HTTP server initially based on mini_httpd. It is heavily based
on BSD technologies: kqueue(2), sendfile(2), queue(3), lot's of stuff from
libutil.

It is not design for performance even if it performs with quite good at this
point. It is design to be lightweight and low footprint.

It implements the following features : 

  * GET, HEAD, and POST methods.
  * CGI.
  * Basic authentication.
  * blacklistd(8) support (if available)
  * Simple mime type support
  * Trailing-slash redirection.
  * index.html, index.htm, index.cgi
  * Directory listings.
  * Multihoming / virtual hosting.
  * URL mapping
  * status page

It also comes with a shell implementation of htpasswd which implements all the
supported password formats supported by the apache version of htpasswd.

Beware that mohawk only support the basic (crypt) authentication currently.

Version 2.0.4: restrict_froms is obsolete. Use 'grant_acces' for acces / deny addresses or networks.

Version < 2.0.11: segfault when parsing malformed / unescaped url 

Version 2.0.14: skip version 2.0.15, can't send any file under FreeBSD > 10