ServerName %%fqdn%% AssignUserId #%%UID%% #%%GID%% SetEnv LOGIN "%%UID%%-%%LOGIN%%" KeepAlive Off RewriteEngine On RewriteCond %{REQUEST_FILENAME} !/cgi-bin/ RewriteRule ^/(.*)$ https://%%fqdn%%/$1 [R=301,L] ServerName %%fqdn%% AssignUserId www-data www-data SetEnv LOGIN "0000-roundcube" DocumentRoot /var/lib/roundcube # Access to tinymce files Options +Indexes +MultiViews +FollowSymLinks AllowOverride None Require all granted Options +FollowSymLinks # This is needed to parse /var/lib/roundcube/.htaccess. See its # content before setting AllowOverride to None. AllowOverride All Require all granted # Protecting basic directories: Options -FollowSymLinks AllowOverride None Options -FollowSymLinks AllowOverride None Order allow,deny Deny from all Options -FollowSymLinks AllowOverride None Order allow,deny Deny from all Alias /javascript /usr/share/javascript/ Options +FollowSymLinks +MultiViews Require all granted SSLEngine On SSLCertificateFile %%CRT%% SSLCertificateKeyFile %%KEY%% %%CHAINLINE%%