The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: 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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,696
    Likes Received:
    656
    Trophy Points:
    113
    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.
     
Loading...

Share This Page