RewriteEngine on
RewriteCond %{HTTP_HOST} ^qt5glenys.com 
RewriteRule (.*) https://www.qt5glenys.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index.php 
RewriteRule ^(.*)index.php$ https://www.qt5glenys.com/$1 [R=301,L]
ErrorDocument 404 /404.php
# Canonical HTTPS/non-WWW
<IfModule mod_rewrite.c>
	RewriteCond %{HTTPS} off [OR]
	RewriteCond %{HTTP_HOST} ^\.qt5glenys\.com [NC]
	RewriteRule (.*) https://www.qt5glenys/$1 [L,R=301]
</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php82” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php82___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
