[#] Minimalist HTTP Daemon Activated in Base **
undeadly.org(obsdave,1) — All
2014-07-27 09:42:57


http://undeadly.org/cgi?action=article&sid=20140724094043

Contributed by tbert on Thu Jul 24 08:32:18 2014 (GMT)
from the slowhttpd(8) dept.

Reyk Flöter (reyk@) recently [committed](http://marc.info/?l=openbsd-cvs&m=140605064926486&w=2) the [rc(8)](http://www.openbsd.org/cgi-bin/man.cgi?query=rc&apropos=0&sec=0&arch=amd64&manpath=OpenBSD-current) glue to make his forked-from-relayd http server usable:

>
>
> CVSROOT: /cvs
> Module name: src
> Changes by: reyk@cvs.openbsd.org 2014/07/22 11:37:16
>
> Modified files:
> usr.sbin : Makefile
> etc : Makefile changelist rc.conf
> Added files:
> etc/rc.d : httpd
>
> Log message:
> Enable httpd(8) in the builds to get more testing, feedback and
> improvements. It is not "finished" but serves static files.
>
> ok deraadt@
>

This code is derived from [relayd(8)](), which means that it shares the privsep architecture and human-readable configuration syntax common to many OpenBSD-originated daemons.

This is still early work, and in a [series](http://marc.info/?l=openbsd-cvs&m=140615618302419&w=2) of [follow-up](http://marc.info/?l=openbsd-cvs&m=140615297101433&w=2) [commits](http://marc.info/?l=openbsd-cvs&m=140612204019668&w=2), reyk@ has fixed a smattering of issues that have come up during early use. If you have a need for a web server that does little more than serves static content, go ahead and give it a spin and see if you can keep Herr Flöter up late again!