Hello,
please what is this error cause?
Error: "Syntax error on line 1 of -c/-C directives: SecAction takes one argument, an action list"
its reported by WHM ModSecurity Tools
it happens on this rule:
http://forums.cpanel.net/f185/how-b...page-repeated-opening-434572.html#post1782362
or this rule too:
Thank you
please what is this error cause?
Error: "Syntax error on line 1 of -c/-C directives: SecAction takes one argument, an action list"
its reported by WHM ModSecurity Tools
it happens on this rule:
http://forums.cpanel.net/f185/how-b...page-repeated-opening-434572.html#post1782362
or this rule too:
Code:
SecAction phase:1,initcol:ip=%{REMOTE_ADDR},pass
SecAction phase:1,initcol:user=%{REMOTE_ADDR},pass
SecRule REQUEST_URI "^/limit_exceeded.php$" \
"phase:1,pass,ctl:ruleEngine=off"
SecAction "phase:1,setvar:ip.request_counter=+1,deprecatevar:user.count=1/600"
SecRule IP:REQUEST_COUNTER "@ge 50" \
"phase:1,setvar:user.count=+1,setvar:ip.request_counter=0"
SecRule USER:COUNT "@ge 2" \
"phase:1,setvar:ip.blocked=1,expirevar:ip.blocked=1800"
SecRule USER:COUNT "@ge 3" \
"phase:1,setvar:ip.blocked=1,expirevar:ip.blocked=7200"
SecRule &IP:BLOCKED "@gt 0" \
"phase:1,chain,redirect:/limit_exceeded.php"
SecRule REQUEST_URI "!^/limit_exceeded.php$"