RewriteEngine On

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