• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H25-Sep-2021-3524

examples/H03-May-2022-376300

man5/H03-May-2022-504469

man8/H03-May-2022-142138

prereq/H03-May-2022-2722

rc.d/H25-Sep-2021-2910

regression/H25-Sep-2021-411283

MakefileH A D03-May-20222.1 KiB7158

Makefile.incH A D03-May-20221.2 KiB5344

READMEH A D25-Sep-20211.1 KiB3424

chroot.shH A D25-Sep-20211.1 KiB6751

compat.cH A D25-Sep-20211.5 KiB376

compat.hH A D25-Sep-20211.6 KiB375

dump.cH A D25-Sep-20214.3 KiB192163

dump.hH A D25-Sep-2021254 1711

include.hH A D25-Sep-20211.6 KiB397

main.cH A D25-Sep-202156.1 KiB2,0711,667

mhtpasswd.shH A D25-Sep-20213.6 KiB154108

mohawk.hH A D25-Sep-20214.9 KiB196140

parse.yH A D25-Sep-202132.5 KiB1,180916

token.lH A D25-Sep-20217.1 KiB227175

README

1	            mohawk - small HTTP server
2
3mohawk is a small HTTP server initially based on mini_httpd. It is heavily based
4on BSD technologies: kqueue(2), sendfile(2), queue(3), lot's of stuff from
5libutil.
6
7It is not design for performance even if it performs with quite good at this
8point. It is design to be lightweight and low footprint.
9
10It implements the following features :
11
12  * GET, HEAD, and POST methods.
13  * CGI.
14  * Basic authentication.
15  * blacklistd(8) support (if available)
16  * Simple mime type support
17  * Trailing-slash redirection.
18  * index.html, index.htm, index.cgi
19  * Directory listings.
20  * Multihoming / virtual hosting.
21  * URL mapping
22  * status page
23
24It also comes with a shell implementation of htpasswd which implements all the
25supported password formats supported by the apache version of htpasswd.
26
27Beware that mohawk only support the basic (crypt) authentication currently.
28
29Version 2.0.4: restrict_froms is obsolete. Use 'grant_acces' for acces / deny addresses or networks.
30
31Version < 2.0.11: segfault when parsing malformed / unescaped url
32
33Version 2.0.14: skip version 2.0.15, can't send any file under FreeBSD > 10
34