Force HTTPS

PHOTO EMBED

Tue Sep 20 2022 13:04:20 GMT+0000 (UTC)

Saved by @andersdeleuran #apache #htaccess

#force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
content_copyCOPY