roundcube/chwala interaction inconsistencies (and nginx?)

Timotheus Pokorra timotheus at kolab.org
Mon Sep 29 09:45:24 CEST 2014


Hello Johannes,

> I have a setup in which a centos lxc-container runs kolab and another
> (debian -based) lxc container runs nginx, proxying (https-rewriting) 
> all
> http(s) traffic. I have attached the (slightly obfuscated) 
> corresponding
> nginx configuration below - 10.10.10.4 is the address of the 
> kolab-running
> container.
> 
> With this setup, I have access to roundcube, kolab-webadmin, ActiveSync 
> and
> Chwala (via explicit */chwala) just fine (the other protocols haven't 
> been
> tested).
> 
> For the "Files" tab in roundcube the default config doesn't work as
> everything is being rewritten to https ...
> When I edit (on the kolab server) 
> "/etc/roundcubemail/kolab_files.inc.php"
> to
>>  $config['kolab_files_url'] = 'https://' . $_SERVER['HTTP_HOST'] .
> '/chwala/';

I have a similar setup for my development and testing environment.

I have also added this line to /etc/roundcubemail/config.inc.php:
$config['file_api_url'] = 'http://localhost/chwala/api/';

Furthermore, this patch to 
/usr/share/roundcubemail/plugins/kolab_files/lib/kolab_files_engine.php 
might be useful:
see bug https://issues.kolab.org/show_bug.cgi?id=3573 and patch 
https://issues.kolab.org/attachment.cgi?id=767
If this fixes your issue, please add a comment in the issue tracker.

Hope this helps,
   Timotheus


More information about the users mailing list