Options -Indexes
RewriteEngine On

# Shared-hosting bridge: keep the project in the account root while serving
# the application through public/ only.
RewriteRule ^public(/|$) - [L]
RewriteRule ^$ public/ [L]
RewriteRule ^(.*)$ public/$1 [L,QSA]
