I am happy to share the configuration that I've come up with but I've only been running the software for a few days. It's very possible that I've overlooked something important. Before the configuration instructions make it into the Installation Wiki (under the guise of best practices), it seems prudent to post it here first and discuss the various issues & methods, and live with it for a while and see if any problems emerge. For example (this thread probably isn't the place for it but...), the relevant lines of my
httpd.conf file look like this:
extip="10.0.0.240"
chroot "/var/www"
logdir "/var/www/logs"
prefork 4
server "issri.deusexmachina.org" {
listen on $extip port 80
location "/*.php" {
directory index "index.php"
directory no auto index
fastcgi socket "/run/php-fpm.sock"
}
location "/data/*" {
block
}
location "/conf/*" {
block
}
location "/bin/*" {
block
}
location "/inc/*" {
block
}
root "/dokuwiki"
directory index "index.php"
directory no auto index
}
This is a bit different from other web servers and there might be security, functionality, or efficiency issues that I haven't yet noticed. After I have a better understanding of the wiki software and the server issues, it seems likely that a clean OpenBSD configuration and a clear, concise how-to could be composed for the Installation Wiki.