Initial
This commit is contained in:
31
install/deb/templates/mail/apache2/snappymail.stpl
Normal file
31
install/deb/templates/mail/apache2/snappymail.stpl
Normal file
@@ -0,0 +1,31 @@
|
||||
<VirtualHost %ip%:%web_ssl_port%>
|
||||
ServerName %domain_idn%
|
||||
ServerAlias %alias_idn%
|
||||
Alias / /var/lib/snappymail/
|
||||
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/snappymail/>
|
||||
Options +FollowSymLinks
|
||||
# This is needed to parse /var/lib/snappymail/.htaccess. See its
|
||||
# content before setting AllowOverride to None.
|
||||
AllowOverride All
|
||||
order allow,deny
|
||||
allow from all
|
||||
</Directory>
|
||||
|
||||
# Protecting basic directories:
|
||||
<Directory /var/lib/snappymail/data>
|
||||
Options -FollowSymLinks
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
|
||||
IncludeOptional %home%/%user%/conf/mail/%root_domain%/%web_system%.ssl.conf_*
|
||||
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user