RewriteEngine on
RewriteRule ^(.*) public/$1 [L]