ServerName mail.example.com:443
ServerAdmin webmaster@example.com
DocumentRoot /home/webmaster/public_websites/mail.example.com/
Include /etc/apache2/conf.d/local-ssl.conf
Include /etc/apache2/conf.d/horde2.conf
Options FollowSymLinks -MultiViews
DirectoryIndex index.php
ServerName www.mail.example.com:443
ServerAlias *.mail.example.com:443
ServerAlias mail:443
ServerAlias *.mail:443
ServerAdmin webmaster@example.com
Include /etc/apache2/conf.d/local-ssl.conf
Include /etc/apache2/conf.d/local-log-origin.conf
RewriteEngine On
RewriteRule / https://mail.example.com/ [R]
CustomLog /var/log/apache2/redirect.log origin
ServerName mail.example.com
ServerAlias *.mail.example.com
ServerAlias mail
ServerAlias *.mail
ServerAdmin webmaster@example.com
Include /etc/apache2/conf.d/local-log-origin.conf
RewriteEngine On
RewriteRule / https://mail.example.com/ [R]
CustomLog /var/log/apache2/redirect.log origin