<IfModule mod_rewrite.c>
    RewriteEngine On
    # Routing through public folder, useful for shared hosting main domains
    # where user is unable to set document root
    RewriteRule ^(.*)$ public/$1 [L]
    # Disable access to .env file
   <Files .env>
        order allow,deny
        Deny from all
    </Files>
</IfModule>

# 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
