From 7b0c23cb6ccff26be4890d58a3a17f33c1c8997c Mon Sep 17 00:00:00 2001 From: Oleg Sh Date: Sat, 3 Aug 2024 21:12:15 +0200 Subject: [PATCH] Rollback changes --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index dc166a3..1d82f16 100755 --- a/.htaccess +++ b/.htaccess @@ -6,8 +6,8 @@ RewriteEngine on RewriteBase / # Auto redirect to https. -#RewriteCond %{HTTPS} off -#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] +RewriteCond %{HTTPS} off +RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond $1 !^(index\.php|script/merge\.php|script/*.|robots\.txt|favicon\.ico|sitemap\.xml|i/.*|tmp/.*|upl/.*|lib/ckeditor4/.*|cgi-bin/*.|wiki/*.|en/wiki/*.|google53bafd5cff611af3\.html|script/plugins/*.|awstats/*.|blackout/*.|sandbox/*.) RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]