Ruby On Rails With Apache and mod_proxy using .htaccess
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (.*) http://localhost:3000/$1 [P]
All resources that don't exist in your html directory will be requested ( using proxy) from mongrel.