blob: b9dea83c5ce45ba9de41a7d43a2b1a7194ee32e9 (
plain)
- <VirtualHost *:443>
- 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
- <Location /horde2>
- Options FollowSymLinks -MultiViews
- DirectoryIndex index.php
- </Location>
- </VirtualHost>
- <VirtualHost *:443>
- 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
- </VirtualHost>
- <VirtualHost *:80>
- 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
- </VirtualHost>
|