diff --git a/public/.htaccess b/public/.htaccess index 91150fd..7e50c86 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -6,14 +6,6 @@ ErrorDocument 404 /error.html RewriteEngine on -# If we receive a forwarded http request from a proxy... -RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR] -# ...or just a plain old http request directly from the client -RewriteCond %{HTTP:X-Forwarded-Proto} ="" -RewriteCond %{HTTPS} !=on -# Redirect to https version -RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] - # other rewrite rules RewriteRule ^login/?$ login.php [L] RewriteRule ^logout/?$ logout.php [L] @@ -27,4 +19,4 @@ RewriteRule ^clear/confirmed/?$ index.php?clear&confirmed [L] RewriteRule ^clear/done/?$ index.php?clear&done [L] RewriteRule ^add/?$ add.php [L] RewriteRule ^spoon/([^/.]+)/?$ index.php?spoon=$1 [L] -RewriteRule ^revive/([^/.]+)/?$ index.php?revive=$1 [L] \ No newline at end of file +RewriteRule ^revive/([^/.]+)/?$ index.php?revive=$1 [L]