You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.5 KiB
51 lines
1.5 KiB
1 year ago
|
<VirtualHost %ip%:%web_ssl_port%>
|
||
|
ServerName %domain_idn%
|
||
|
ServerAlias %alias%
|
||
|
Alias / /var/lib/roundcube/
|
||
|
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 "/usr/share/tinymce/www/">
|
||
|
Options Indexes MultiViews FollowSymLinks
|
||
|
AllowOverride None
|
||
|
Order allow,deny
|
||
|
allow from all
|
||
|
</Directory>
|
||
|
|
||
|
<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/roundcube/config>
|
||
|
Options -FollowSymLinks
|
||
|
AllowOverride None
|
||
|
</Directory>
|
||
|
|
||
|
<Directory /var/lib/roundcube/temp>
|
||
|
Options -FollowSymLinks
|
||
|
AllowOverride None
|
||
|
Order allow,deny
|
||
|
Deny from all
|
||
|
</Directory>
|
||
|
|
||
|
<Directory /var/lib/roundcube/logs>
|
||
|
Options -FollowSymLinks
|
||
|
AllowOverride None
|
||
|
Order allow,deny
|
||
|
Deny from all
|
||
|
</Directory>
|
||
|
|
||
|
IncludeOptional %home%/%user%/conf/mail/%root_domain%/%web_system%.ssl.conf_*
|
||
|
|
||
|
</VirtualHost>
|