Redirection

The following may be used to perform a generic redirect from 'http' to 'https'.

<VirtualHost *:80>
        ServerAdmin webmaster@example.com

        RewriteEngine On
        RewriteRule (.*) https://www.%{SERVER_NAME} [R,L]
</VirtualHost>