Merge branch 'master' of gitlab.com:iimtt/iimtt.org into dns

This commit is contained in:
2021-05-17 07:50:37 +00:00
3 changed files with 22 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php