htaccess quick fix

Hello guys. Installed openlightspeed with cyberpanel and it works like a charm. Many thanks, it’s a greatest free cpanel alternative.
But I found out that htaccess rules don’t work when I moved from apache to openlightspeed. Could you please help me? I believe it’s a really quick 1 minute fix. I tried a few fixes from documentation without success. Here’s my apache rules:

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/i_files/(.)
RewriteRule ^(.
)$ index.php\?link=$1 [L,QSA]

I believe that I need to update the third line but didn’t know how.

Check log files seems QSA is not supported or maybe OpenLiteSpeed failed to parse some regular expressions, however rules seem fine → Location of configuration files - 08 - Server - CyberPanel Community

Check log files seems QSA is not supported or maybe OpenLiteSpeed failed to parse some regular expressions, however rules seem fine -> https://cyberpanel.net/docs/location-of-configuration-files/

Thanks for the response. I figured out that it works fine when htaccess located in root folder of the website and didn’t work in subfolder. Are there anything I can do to make it work in subfolder?

Do you have .htaccess autoload on? → https://cyberpanel.net/2018/09/10/openlitespeed-v1-4-38-has-been-released/

Just checked with new folder and it works. Thank you guys.