I know this was answered back in November, wanted to add a similar 'typo' scenario.
The little tic to close the modsecurity_rules block can disappear easily enough and you get a non-descript error in your server log:
modsecurity_rules_file /usr/local/lsws/modsec/comodo/rules.conf failed, ret...
I know it's almost two years since you asked. Since your post came up while I was searching for the same issues I am circling back to share what I learned.
In /usr/local/lsws/admin/fcgi-bin you will find a file named admin_php. This is the binary used by the admin console.
There is a script...