RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Evitar listado de directorios
IndexIgnore *
# Prevenir acceso a ciertos archivos
Order Allow,Deny
Deny from all
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
# php -- END cPanel-generated handler, do not edit