Dear CyberPanel/LiteSpeed Support Team,
I am experiencing an issue where my ModSecurity module does not appear to be loading or functioning correctly on my LiteSpeed server, even though it is enabled in the CyberPanel GUI.
Problem Details
- ModSecurity and OWASP CRS are Enabled in the GUI configuration.
- However, all security tests (e.g., trying to access specific endpoints with known attack strings) result in a
200 OK(normal page load) instead of the expected403 Forbiddenresponse. - The ModSecurity audit log (
/usr/local/lsws/logs/modsec_audit.log) does not exist, indicating the module might not be loading at all. - I have already performed a server reboot and updated CyberPanel to the latest version, but the issue persists.
Request
Could you please assist me in diagnosing why the ModSecurity module is not being initialized by the LiteSpeed web server? I suspect there might be a configuration or environment issue preventing the module from loading correctly.
Thank you for your assistance.