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.

cpanel modsec rule raise error

Discussion in 'Security' started by prakashnplink, Feb 21, 2016.

  1. prakashnplink

    prakashnplink Active Member

    Joined:
    Apr 8, 2014
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    I have following rule in my /usr/local/apache/conf/modsec2.user.conf file:

    SecGeoLookupDb /usr/share/geoip/GeoLiteCity.dat
    SecRule REMOTE_ADDR "@geoLookup" "phase:1,id:'11111',t:none,pass,log,noauditlog"

    I think this is right but when I see /usr/local/apache/logs/error_log I see following error:

    [Sat Feb 20 02:04:23.469432 2016] [:error] [pid 15993] [client 93.189.102.202] ModSecurity: Warning. Geo lookup for "93.189.102.202" succeeded. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "13"] [id "11111"] [hostname "somesite.com"] [uri "/css/bootstrap.min.css"] [unique_id "Vsd4y55FgooAAD55TBcAAAAK"]

    Anyone know what I am doing wrong here?

    PS: I have disabled full modsec logging.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page