The bozotic HTTP server

From LinuxReviews
Jump to navigationJump to search

The bozotic HTTP server (Bozohttpd) is a very minimalistic and secure http 1.1 webserver written entirely in C. It has very few features and only supports static objects and CGI/1.1. It does not support https. It supports both the IPv4 and IPv6 protocols.

The source is about 200K and the compiled executable is around 120K.

Configuration[edit | edit source]

Bozohttpd has no configuration file and must be configured using startup parameters who are laid out in the manual page. You would typically start it with some options such as:

/usr/bin/bozohttpd -b -i localhost -I 80 -X -U nobody /var/www/htdocs

There's detail in the english manual which is also available in french.

Use-cases[edit | edit source]

Bozohttp's very small memory footprint and lack of resource requirements makes it a good choice for hosting simple static websites on older computers and simple devices.

bozohttpd handles serving large volumes of static objects very well and it can be an alternative to thttpd if you are looking to serve large volumes of static files such as css stylesheets and images used by high-volume websites.

The lack of https support does limit bozohttpd's usefulness as a general-purpose webserver. If the tasks only requires http and static objects then it's a light web server worth considering.

Homepage[edit | edit source]

Web server software