apih
9/18/2018 - 10:27 AM

Force HTTPS connection in Apache

# Force SSL (https) connection
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]