blob: bff57d4c6dfba77cdd5b5d86d14c4a571b39fda6 (
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
- RewriteEngine On
- RewriteRule / https://mail.example.com/ [R]
- TransferLog /dev/null
- </VirtualHost>
- <VirtualHost *:80>
- ServerName mail.example.com
- ServerAlias *.mail.example.com
- ServerAlias mail
- ServerAlias *.mail
- ServerAdmin webmaster@example.com
- RewriteEngine On
- RewriteRule / https://mail.example.com/ [R]
- TransferLog /dev/null
- </VirtualHost>
|