The ports tree of the upcoming OpenBSD 4.5 release contains Lighttpd (cache) 1.4.21, which unfortunately has a couple of bugs (cache).
Fortunately the OpenBSD port just patches the example config file, so updating it to 1.4.22 is quite easy:
Fortunately the OpenBSD port just patches the example config file, so updating it to 1.4.22 is quite easy:
- Download lighttpd-1.4.22.tar.gz to /usr/ports/distfiles
- go to /usr/ports/www/lighttpd
- in Makefile, change DISTNAME to lighttpd-1.4.22
- run "make makesum" to update distinfo
- build and install