.htaccess for automatic redirection to the public directory