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!

mod Securty whitelist not work

Discussion in 'Security' started by speckados, Feb 18, 2014.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    315
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Pastrana :: Guadalajara :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi.

    In one server /usr/local/apache/conf/modsec2.whitelist.conf not work properly.

    Code:
    cat /usr/local/apache/conf/modsec2.whitelist.conf
    # ConfigServer ModSecurity whitelist file
    <LocationMatch .*>
            SecRuleRemoveById 1234123429
    </LocationMatch>
    
    But not work.

    Of course on /usr/local/apache/conf/modsec2.conf there a Include /usr/local/apache/conf/modsec2.whitelist.conf

    Also try put deactivate rule on /usr/local/apache/conf/userdata/std/2/<usercpanel>/modsec.conf

    But after restart apache, if rule catch by mod_security, error on url.

    Desesperate
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    It looks like you are using the ConfigServer Mod_Security Control plugin. Are you editing/disabling the rules through the interface it offers? If so, and if it's not working as intended, you may want to contact their support team directly to report this issue.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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