aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-20 02:19:35 +0100
committerTeddy Wing2018-11-20 02:19:35 +0100
commit995b2b508b5647b4b768f4d8b11ef3697af2393b (patch)
tree3e47b39dd2f6498bfed9a15a9894d0f0255d18d3
parent1db7ad0581e7b51c472e03899c367ed61d24744c (diff)
downloaddome-key-web-995b2b508b5647b4b768f4d8b11ef3697af2393b.tar.bz2
.htaccess: Fix HTTPS redirect
This line was causing a server error. Happily, the corrected version looks even nicer.
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
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