Brad Smith <b...@comstyle.com> writes: > sthttpd is a fork of the long unmaintained thttpd web-server. sthttpd contains > a bunch of bug fixes and some of them are security fixes as well. This is to > replace the thttpd port. > > Comments? OK?
Basic testing done, no problem so far. Would it make sense to add a note to DESCR, something like... "As the original developers consider thttpd as done, the development effort has been taken over, under a different name." Also the way thttpd works doesn't easily fit the default OpenBSD /var/www layout, so the user needs to setup some symlinks like cgi-bin -> ../cgi-bin or ~foo -> ../users/foo. Perhaps is it worth a README? The redirect and ssi CGI could also be linked statically so that they can be used easily with a chroot. Finally, here's a proposal for a rc.d script: #! /bin/sh # # $OpenBSD$ daemon="${TRUEPREFIX}/sbin/thttpd" daemon_flags="-d /var/www -r -dd /htdocs -c /cgi-bin/\\*" . /etc/rc.d/rc.subr rc_cmd "$1"