Easy way to generate a .htaccess online:

Link