RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?pla.buildal.net$
RewriteCond %{REQUEST_URI} !^/public/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /public/$1
RewriteCond %{HTTP_HOST} ^(www.)?pla.buildal.net$
RewriteRule ^(/)?$ public/index.php [L]

#Security Settings
options -Indexes
<Files .env>
	Order allow,deny
	Deny from all
</Files>

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