Updated .htaccess files and added nbproject to .gitignore