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