RewriteEngine on
RewriteRule ^(.*)$ public/index.php