For starters, you should look at your use of whitespace within the rules. Code in general, and .htaccess rules especially, are sensitive to use of whitespace. So RewriteCond% ... should be RewriteCond %..., the flags should be [L,NC] and not [L, NC], and the behavior of regular expressions also changes if you add or remove spaces.
Unfortunately, .htaccess files don’t have error messages or logs. They either work or they don’t. You can selectively comment or uncomment rewrite rules/blocks to figure out which cause your site to crash and which ones don’t.
Or you could go back to the software you’re trying to install and double check you’re copied their .htaccess rules correctly.