How can I fix the error: Modsecurity is not configured. Modsecurity log file not found?

Usually this error is caused because ModSecurity is not installed or configured yet.

Install ModSecurity and configure it for Juggernaut Firewall

// intall modsecurity
plesk installer add --components modsecurity

// re-run the juggernaut installer to configure modsecurity for juggernaut
/usr/local/psa/admin/bin/modules/juggernaut/install.sh

Turn on ModSecurity

  1. Navigate to Tools & Settings -> Web Application Firewall (ModSecurity)
  2. Set Web application firewall mode to on.

Configure ModSecurity

  1. Click the Web Application Firewall Settings tab and choose a rule set and Configuration to Tradeoff or Thorough (most people will want to use the Comodo ruleset as OWASP are very strict and are recommended for advanced users only) .
  2. Press OK to save the settings.

  • modsecurity
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I fix the error: Kohana_Exception [ 0 ]: Directory APPPATH/cache must be writable?

This error means that the permissions on the Plesk extension are not set properly. Running the...

How can I fix the error: The domain limit of this license key has been reached?

The admin and pro versions of our products are limited to the number of domains you can have in...

How can I fix the error: AH01630: client denied by server configuration after enabling the messenger v3 service?

After enabling the messenger v3 service you just get the default Apache page when testing the...