Skip to main content

Personalised rules + new modsecurity

Comments

3 comments

  • Infopro
    WHM " Security Center, you'll find ModSecurity options there now.
    0
  • globcom
    Thanks for your reply. WHM " Security Center, you'll find ModSecurity options there now.
    I saw that, but I don't understand how I can insert personalized rules. Example, I use this rule : [PHP]SecRule REQUEST_METHOD "POST" "deny,status:401,id:5000130,chain,msg:'wp-login request blocked, no referer'" SecRule &HTTP_REFERER "@eq 0" "chain" SecRule REQUEST_URI "wp-login.php"[/PHP] for limit bruteforce on wp-login.php (for wordpress) Where can I put this rule for modsecurity ? Regards, Eric
    0
  • globcom
    It's ok. I found. Eric
    0

Please sign in to leave a comment.