The single biggest problem is that if you don’t get the format of your HTTP Header perfect , you’ll break your site. Check your formatting of htaccess. Always rely on the CyberPanel feature of editing htaccess How to write Rewrite rules for OpenLiteSpeed!
Kindly post the contents of your website htaccess or rewrite rules