blob: d9c17fa739b56e95886e75a0f8c1b03238f59f14 (
plain)
- <VirtualHost *:443>
- ServerName lists.example.com:443
- ServerAlias lists
- ServerAdmin webmaster@example.com
- DocumentRoot /home/webmaster/public_websites/lists.example.com/
- Include conf-available/local-tls.conf
- Include conf.d/local-log-vhosts.conf
- Include conf.d/local-mailman.conf
- Include conf.d/local-mailman-root.conf
- ErrorLog ${APACHE_LOG_DIR}/lists.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/lists.example.com-access.log combined
- </VirtualHost>
- <VirtualHost *:443>
- ServerName www.lists.example.com:443
- ServerName *.lists.example.com:443
- Include conf-available/local-tls.conf
- RewriteEngine On
- RewriteRule / https://lists.example.com/ [R]
- # RewriteRule /(.*) https://lists.example.com/$1 [R]
- CustomLog ${APACHE_LOG_DIR}/redirect.log combined
- </VirtualHost>
- <VirtualHost *:80>
- ServerName lists.example.com
- ServerAlias *.lists.example.com
- RewriteEngine On
- RewriteRule / https://lists.example.com/ [R]
- # RewriteRule /(.*) https://lists.example.com/$1 [R]
- CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
- </VirtualHost>
|