RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.*) public/$1 [L,NC,QSA]
info at phpclasses dot org