2020-05-30 08:50:13 +00:00
..
2020-05-30 08:50:13 +00:00

$OpenBSD: README,v 1.2 2018/09/04 12:53:16 espie Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Kopano webapp is installed under
    ${INSTDIR}

Configuration is done in the file
    ${INSTDIR}/config.php

With Apache, AllowOverride settings are required on the ${INSTDIR}
directory. You can configure this as follows:
    # ln -s ${PREFIX}/conf/modules.sample/kopano-webapp.conf \
        /var/www/conf/modules

You need to enable the PHP mapi module using the following command:
    # ln -fs ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapi.ini \
        ${SYSCONFDIR}/php-${MODPHP_VERSION}/mapi.ini

(the PHP mapi module is provided by the "kopano-webaccess" package)

The Kopano webapp will be accessible from
    http://<hostname>/webapp/

HTTP server locale
------------------
LANG needs to be set to an UTF-8 compliant locale on the Web server.
When using httpd(8), create a login(1) class under /etc/login.conf(5)
called after the Apache rc.d(8) script, i.e. "httpd":

httpd:\
	:setenv=LANG=en_US.UTF-8:\
	:tc=daemon: