This package uses Composer to install and maintain required PHP libraries as well as the Roundcube framework. The requirements are basically the same as for Roundcube so please read the INSTALLATION section in the Roundcube framework's README file.
Execute this in the project root directory:
$ curl -s http://getcomposer.org/installer | php
This will create a file named composer.phar in the project directory.
$ php composer.phar install
3.1. Either copy or symlink the Roundcube framework package into lib/Roundcube 3.2. Either copy or symlink the roundcubemail-plugins-kolab into lib/plugins 3.3. Either copy or symlink the Chwala lib/ directory into lib/FileAPI
4.1. The configuration for this service inherits basic options from the Roundcube config. To make that available, smylink the Roundcube config files (main.inc.php and db.inc.php) into the local config/ directory.
4.2. Then copy the service-spcific config template:
$ cp config/dav.inc.php.sample config/dav.inc.php
Edit the local config/dav.inc.php file according to your setup and taste. These settings override the default config options from the Roundcube configuration.
$ chown
Add following mod_rewrite configuration into virtual host config or .htaccess file:
RewriteEngine On
RewriteBase /
RewriteRule ^\.well-known/caldav / [L,R=301]
RewriteRule ^\.well-known/carddav / [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php [qsappend,last]
SetEnv CALDAV 1
SetEnv CARDDAV 1
SetEnv WEBDAV 1
Use the SetEnv properties to configure which services shall be provided under a certain host. If only WEBDAV is enabled, the shared folders are listed directly at root level and not in /files/.