Mighttpd
Author: Kazu Yamamoto
Created: 2010/03/08
Modified: 2012/05/21
Mighttpd2 (called mighty) is a simple but practical HTTP server written in Haskell. It handles static files and CGI scripts. It also provides a feature of reverse proxy and URL rewriting with HTTP redirect.
Mighttpd2 is now implemented as a WAI application using the high-performance HTTP engine, "warp". To httperf Ping-Pong benchmark, the performance of Mighttpd2 is similar to that of nginx.
This domain "Mew.org" is provided with Mighttpd2. Here are some demonstrations:
- Redirection and language negotiation
- http://www.mew.org/~kazu/proj/firemacs ->
http://www.mew.org/~kazu/proj/firemacs/en/
- http://www.mew.org/~kazu/proj/firemacs ->
- CGI: search(GET), Mailman(POST)
- Index of files in a directory should be statically created by the "mkindex" command.
Here are slides/articles of Mighttpd:
- The architecture of Mighttpd, a high performance web server (in Japanese)
- Mighty and Yesod (slides)
- Mighttpd - a High Performance Web Server in Haskell, the Monad.Reader, Issue 19
- High Performance Web Server in Haskell (slides)
- Experience on implementing a Web server in Haskell (slides)