ServerName people.secure-example.com
ServerAlias people
ServerAdmin webmaster@secure-example.com
DocumentRoot /home/admin/public_websites/people.secure-example.com/
Include /etc/apache2/conf.d/local-userdir.conf
Include /etc/apache2/conf.d/local-macvolumes.conf
RewriteEngine On
RewriteRule ^/-(.*)$ http://people.secure-example.com/~$1 [R]
RewriteRule ^/([^~].*)$ http://people.secure-example.com/~$1 [R]
Include /etc/apache2/conf.d/local-log-vhosts.conf
CustomLog "| /usr/sbin/vlogger -s access.log -u admin -g admin -t '%Y.%m.%d' /home/admin/weblogs" combined_vlogger
ErrorLog "| /usr/sbin/vlogger -s error.log -u admin -g admin -t '%Y.%m.%d' -e /home/admin/weblogs/ERRORS"
ServerName www.people.secure-example.com
ServerAlias *.people.secure-example.com
ServerAdmin webmaster@secure-example.com
RewriteEngine On
RewriteRule / http://people.secure-example.com/ [R]
# RewriteRule /(.*) http://people.secure-example.com/$1 [R]
TransferLog /dev/null
ServerName people.secure-example.com:443
ServerAlias *.people.secure-example.com:443
ServerAdmin webmaster@secure-example.com
Include /etc/apache2/conf.d/local-ssl.conf
RewriteEngine On
RewriteRule / http://people.secure-example.com/ [R]
# RewriteRule /(.*) http://people.secure-example.com/$1 [R]
TransferLog /dev/null