updated htaccess template for better https