Tuesday, April 25, 2017

Apache HTTPD Redirect http to https

<VirtualHost *:80>
ServerName www.goweekend.ca
DocumentRoot /usr/share/dboard

<If "req('Host') == 'www.goweekend.ca'">
    Redirect permanent / https://www.goweekend.ca/
</If>

</VirtualHost>

No comments:

Post a Comment