I have read that in order to disable mod security, the htaccess file should be edited, but for the htaccess we need to enable rewirte first. Im not being able to do this last part. Running Open Light Speed and Direct Admin.
https://openlitespeed.org/kb/migrate-apache-rewrite-rules-to-openlitespeed/
https://openlitespeed.org/kb/migrate-apache-rewrite-rules-to-openlitespeed/