RewriteEngine on

RewriteCond %{REQUEST_URI} !^public

RewriteRule ^(.*)$ public/$1 [L]

# BEGIN

# reduces the sensitivity of the modsecurity firewall

<IfModule mod_security.c>

  SecRuleEngine Off

  SecFilterInheritance Off

  SecFilterEngine Off

  SecFilterScanPOST Off

</IfModule>

# END

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