From 995b2b508b5647b4b768f4d8b11ef3697af2393b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 20 Nov 2018 02:19:35 +0100 Subject: .htaccess: Fix HTTPS redirect This line was causing a server error. Happily, the corrected version looks even nicer. --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 84a7eaf..186a57f 100644 --- a/.htaccess +++ b/.htaccess @@ -7,7 +7,7 @@ ErrorDocument 404 /404.html RewriteEngine on # Redirect HTTP to HTTPS -RewriteCond %{HTTPS} != on +RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Disallow access to .htaccess -- cgit v1.2.3