|
|
@@ -0,0 +1,31 @@
|
|
|
+<VirtualHost %ip%:%web_ssl_port%>
|
|
|
+ServerName %domain%
|
|
|
+ServerAlias %alias%
|
|
|
+Alias / /var/lib/rainloop/
|
|
|
+Alias /error/ %home%/%user%/web/%root_domain%/document_errors/
|
|
|
+#SuexecUserGroup %user% %group%
|
|
|
+
|
|
|
+SSLEngine on
|
|
|
+SSLVerifyClient none
|
|
|
+SSLCertificateFile %home%/%user%/conf/mail/%root_domain%/ssl/%root_domain%.crt
|
|
|
+SSLCertificateKeyFile %home%/%user%/conf/mail/%root_domain%/ssl/%root_domain%.key
|
|
|
+
|
|
|
+<Directory /var/lib/roundcube/>
|
|
|
+ Options +FollowSymLinks
|
|
|
+ # This is needed to parse /var/lib/roundcube/.htaccess. See its
|
|
|
+ # content before setting AllowOverride to None.
|
|
|
+ AllowOverride All
|
|
|
+ order allow,deny
|
|
|
+ allow from all
|
|
|
+</Directory>
|
|
|
+
|
|
|
+# Protecting basic directories:
|
|
|
+<Directory /var/lib/rainloop/data>
|
|
|
+ Options -FollowSymLinks
|
|
|
+ AllowOverride None
|
|
|
+</Directory>
|
|
|
+
|
|
|
+
|
|
|
+IncludeOptional %home%/%user%/conf/mail/%root_domain%/%web_system%.ssl.conf_*
|
|
|
+
|
|
|
+</VirtualHost>
|