Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Personalised rules + new modsecurity

Discussion in 'Security' started by globcom, Nov 4, 2014.

  1. globcom

    globcom Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    58
    Hi,

    in WHM 11.44 it was possible to edit config
    WHM> plugins > mod security > edit config

    I don't find this feature in new WHM (11.46)

    ?

    Regards,
    Eric
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,436
    Likes Received:
    416
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    WHM » Security Center, you'll find ModSecurity options there now.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. globcom

    globcom Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    58
    Thanks for your reply.

    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"
    for limit bruteforce on wp-login.php (for wordpress)

    Where can I put this rule for modsecurity ?

    Regards,
    Eric
     
  4. globcom

    globcom Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    49
    Likes Received:
    2
    Trophy Points:
    58
    It's ok. I found.

    Eric
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice