RewriteEngine On RewriteRule ^$ public/ [L] RewriteRule (.*) public/$1 [L]
info at phpclasses dot org