ServerName users.example.com
ServerAlias users
ServerAdmin webmaster@example.com
DocumentRoot /home/webmaster/public_websites/users.example.com/
Include /etc/apache2/conf.d/local-userdir.conf
Include /etc/apache2/conf.d/local-macvolumes.conf
RewriteEngine On
RewriteRule ^/-(.*)$ http://users.example.com/~$1 [R]
RewriteRule ^/([^~].*)$ http://users.example.com/~$1 [R]
ErrorLog /var/log/apache2/users.kaospilot.no-error.log
CustomLog /var/log/apache2/mail.dgi-huset.dk-access.log combined
ServerName www.users.example.com
ServerAlias *.users.example.com
ServerAdmin webmaster@example.com
RewriteEngine On
RewriteRule / http://users.example.com/ [R]
# RewriteRule /(.*) http://users.example.com/$1 [R]
TransferLog /dev/null
ServerName users.example.com:443
ServerAlias *.users.example.com:443
ServerAlias users:443
ServerAlias *.users:443
ServerAdmin webmaster@example.com
Include /etc/apache2/conf.d/local-ssl.conf
RewriteEngine On
RewriteRule / http://users.example.com/ [R]
# RewriteRule /(.*) http://users.example.com/$1 [R]
TransferLog /dev/null