<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^/public/
    RewriteCond %{REQUEST_URI} !^/install/
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>