<VirtualHost xxx.x.xx.xxx:80>
ServerAdmin webmaster@yourdomain.tld
DocumentRoot /var/www/ispcp/gui/tools/roundcube
ServerName cube.yourdomain.tld
ServerAlias cube.*
ErrorLog /var/log/apache2/users/cube-error.log
TransferLog /var/log/apache2/users/cube-access.log
CustomLog /var/log/apache2/cube-traf.log traff
CustomLog /var/log/apache2/cube-combined.log combined
<IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>
<Directory /var/www/ispcp/gui/tools/roundcube>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui/tools/roundcube>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui/tools/roundcube>
php_admin_value open_basedir "/var/www/ispcp/gui/tools/roundcube/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>
</VirtualHost>