remove line 169 -> 172 and paste this code to at the bottom
<IfModule LiteSpeed>
CacheLookup on
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
# Detection of logged-in user.
RewriteRule .* - [E="Cache-Vary:flarum_remember,flarum_lscache_vary"]
# If you have a non-default path to the admin panel, change "admin" to match.
RewriteCond %{ORG_REQ_URI} !/admin
# Enable private cache for admin panel. If it causes problems replace "private" with "no-cache".
RewriteRule .* - [E=Cache-Control:private]
</IfModule>
your code has not newlines