$OpenBSD: README,v 1.7 2018/09/04 12:46:20 espie Exp $ +----------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +----------------------------------------------------------------------- HTTP server Configuration ========================== Baikal has been installed into ${INSTDIR}. You should point this to the DocumentRoot of your web-server: # ln -s ../baikal/html /var/www/htdocs/baikal (make sure you use a relative symlink if your server is chrooted) Alternatively the below configuration can be used for httpd from base together with php-fpm: server "default" { listen on * port 80 location "/.well-known/ca*dav" { block return 301 "http://<hostname>/baikal/dav.php" } location "/baikal/*.php*" { root "/baikal/html" request strip 1 fastcgi socket "/run/php-fpm.sock" directory index index.php } location "/baikal/*" { root "/baikal/html" request strip 1 directory index index.php } } Database Configuration ====================== Baikal can work with a MySQL or SQLite3 database. Support for SQLite3 is included with the main php package; to use another database, the corresponding package needs to be installed: php-pdo_mysql Post-installation ================= To finish the installation go to http://<hostname>/baikal/ and follow the instructions. To make the above httpd.conf work you need to go to "System settings" in the admin interface and set the 3 base URIs to "/baikal/XXX.php/". Baikal administration ===================== To administer Baikal, point your browser to: http://<hostname>/baikal/admin/