blob: 48e9d842722a937391a1f6d36cd7a14a3e7347d3 (
plain)
- <VirtualHost *:443>
- ServerName lists.example.com:443
- ServerAlias lists
- ServerAdmin webmaster@example.com
- DocumentRoot /home/webmaster/public_websites/lists.example.com/
- Include /etc/apache2/conf.d/local-ssl.conf
- Include /etc/apache2/conf.d/local-log-vhosts.conf
- Alias /pipermail /var/lib/mailman/archives/public
- Alias /images/mailman /usr/share/images/mailman
- ScriptAlias /mailman /usr/lib/cgi-bin/mailman
- RewriteEngine On
- RewriteRule ^/$ /mailman/listinfo [R]
- RewriteRule ^/mailman(/)?$ /mailman/listinfo [R]
- <Location /images/>
- order deny,allow
- allow from all
- </Location>
- CustomLog "| /usr/sbin/vlogger -s access.log -u admin -g admin -t '%Y.%m.%d' /home/webmaster/weblogs" combined_vlogger
- ErrorLog "| /usr/sbin/vlogger -s error.log -u admin -g admin -t '%Y.%m.%d' -e /home/webmaster/weblogs/ERRORS"
- </VirtualHost>
- <VirtualHost *:443>
- ServerName www.lists.example.com:443
- ServerAlias *.lists.example.com: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://lists.example.com/ [R]
- # RewriteRule /(.*) https://lists.example.com/$1 [R]
- CustomLog /var/log/apache2/redirect.log origin
- </VirtualHost>
- <VirtualHost *:80>
- ServerName lists.example.com
- ServerAlias *.lists.example.com
- ServerAdmin webmaster@example.com
- Include /etc/apache2/conf.d/local-log-origin.conf
- RewriteEngine On
- RewriteRule / https://lists.example.com/ [R]
- # RewriteRule /(.*) https://lists.example.com/$1 [R]
- CustomLog /var/log/apache2/redirect.log origin
- </VirtualHost>
|