ModSecurity log is empty.

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:11:21 UTC

Modified:

2016-12-21 20:08:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

ModSecurity log is empty.

Symptoms

Mod Security log is empty.

Cause

ModSecurity is not enabled on the server.

Resolution

Check the current state of ModSecurity. You can do it with command line utility:

[root@server ~]# /usr/local/psa/admin/bin/modsecurity_ctl -s
Disabled

In order to enable Mod Security use the following command:

[root@server ~]# /usr/local/psa/admin/bin/modsecurity_ctl -e

After that operation, modsec_audit.log will be created in the following directory:

[root@server ~]# ls -la /var/log/modsec_audit.log
-rw-r----- 1 root root 865608 Jun 29 09:37 /var/log/modsec_audit.log
Have more questions? Submit a request
Please sign in to leave a comment.