


RewriteEngine On

# Allow the root and index.php
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{REQUEST_URI} !^/index\.php$ [NC]
RewriteRule ^ - [F,L]

<FilesMatch "(\.htaccess|\.env|config\.php|composer\.(json|lock))$">
    Require all denied
</FilesMatch>

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