adding htaccess to resources