Rollback changes

This commit is contained in:
Oleg Sh 2024-08-03 21:12:15 +02:00
parent c9201526a9
commit 7b0c23cb6c

View File

@ -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]