title: Mod_security rules setup error
body: <p>I am trying to implement the default setting provided by OWASP.
  Link:<a href="https://www.modsecurity.org/CRS/Documentation/quickstart.html" rel="nofollow noreferrer">https://www.modsecurity.org/CRS/Documentation/quickstart.html</a></p>
  
  <p>When restarting apache I am getting eror</p>
  
  <blockquote>
    <p>Syntax error on line 45 of
    /etc/modsecurity/rules/REQUEST-910-IP-REPUTATION.conf: Internal Error:
    Failed to add rule to the ruleset. Action 'configtest' failed. The
    Apache error log may have more information.    ...fail!
    The code for the relevant section is</p>
  </blockquote>
  
  <pre><code>SecRule TX:DO_REPUT_BLOCK "@eq 1" \
   "msg:'Request from Known Malicious Client (Based on previous traffic violations).',\
    logdata:'Previous Block Reason: %{ip.reput_block_reason}',\
    severity:'CRITICAL',\
    id:910000,\
    phase:request,\
    block,\
    t:none,\
    tag:'application-multi',\
    tag:'language-multi',\
    tag:'platform-multi',\
    tag:'attack-reputation-ip',\
    tag:'IP_REPUTATION/MALICIOUS_CLIENT',\
    setvar:'tx.msg=%{rule.msg}',\
    skipAfter:BEGIN_REQUEST_BLOCKING_EVAL,\
    chain"
    SecRule IP:REPUT_BLOCK_FLAG "@eq 1" \
      "setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},\
      setvar:tx.%{rule.id}-AUTOMATION/MALICIOUS-%{matched_var_name}=%{matched_var}"
  </code></pre>
  
  <p>whereas line 45 in the error refers to <code>chain"</code> 
  I don't have any idea about the syntax of these rules.</p>