<IfModule mod_rewrite.c>
    RewriteEngine On

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

<FilesMatch ".(?:html|php)$">
SetHandler application/x-httpd-alt-php81
</FilesMatch>