RewriteEngine on
# Do not rewrite if the request is already for public/
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [L,NC]
