[BlueOnyx:09015] Re: Roundcube and suPHP

Steven Howes steve-lists at geekinter.net
Fri Nov 11 04:30:41 -05 2011


On 11 Nov 2011, at 07:57, Christian Fahrni wrote:
> We have some issues with the roundcube package and suPHP enabled.
> Installed: BlueOnyx 2.20110817, RoundCube 0.40.1, ModPHP 5.3.3
> <snip>
> Is there a fix or workaround for that problem? 

Edit /usr/share/roundcube/config/main.inc.php

Change:

$rcmail_config['default_host'] = '';
to
$rcmail_config['default_host'] = 'localhost';

(This stops it asking for server name)

Then for sites that use suphp:

diff suphp.conf suphp.conf.old 
8,9c8,9
< min_uid=0
< min_gid=0
---
> min_uid=501
> min_gid=500
18c18
< check_vhost_docroot=false
---
> check_vhost_docroot=true

Per vsite:
 Add /usr/share/roundcube/ in openbasedir

It's all a bit hacky, Michael may be able to give a better solution....

Steve



More information about the Blueonyx mailing list