SSL only virtualhost

From Organic Design wiki

{{#security:edit|*}} <VirtualHost *:80> ServerName mywebsite.nz RedirectMatch ^/(.*)$ https://mywebsite.nz/$1 </VirtualHost>

<VirtualHost *:443> ServerAdmin webmaster@cs.auckland.ac.nz ServerName mywebsite.nz DocumentRoot /www/htdocs/mywebsite.nz <VirtualHost>