mohawk
—
HTTP server, based on libevent2
mohawk |
[-c file]
[-d ] [-D ]
[-k ] [-L
listen] [-n ]
[-p file]
[-P port]
[-R rootdir]
[-h ] [-v ] |
mohawk
is a small HTTP server, based on libevent2, an
event notification library. It features:
- Handling of static files, index files, and auto-indexing
- CGI support, URL mapping for CGI
- IPv6 compatible
- Virtual hosting
- Basic authentication using crypt() passwords
- Status page
- IP access control
- Specific settings by URL
- blacklistd support (if available)
-c
file
- Load configuration from file
-d
- Debug mode, don't daemonize
-D
- Dump the configuration (full dump require ‘-d’ flags)
-k
- Keep identity (don't setuid)
-L
listen
- Listen on interface/ipv4/ipv6/hostname
-n
- Check configuration syntax
-p
file
- Write pid in file
-P
port
- Listen on port port
-R
rootdir
- Use rootdir as document_root
-h
- This message
-v
- Print version
Baptiste Daroussin <bapt@FreeBSD.org>
Freddy Dissaux <freddy.dsx@free.fr>