VirtualHost HTTP redirect to HTTPS




<VirtualHost *:80>
    ServerName www.example.com
    Redirect / https://www.example.com/
</VirtualHost>

<VirtualHost *:443>
    ServerName www.example.com
    # ... SSL configuration goes here
</VirtualHost>

Comments

Popular posts from this blog

The configuration file now needs a secret passphrase(blowfish_secret) phpMyAdmin 4.0.9

error_reporting (E_WARNING & E_NOTICE & E_DEPRECATED) install vTiger 5.4.x

snmpd dead but subsys locked