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.

Modsec rule and slow website

Discussion in 'Security' started by mahdy_sharifi, Aug 8, 2014.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello :

    We used modsec rule (from atomic) but our website load time goes slow !
    Is it normal or need change modsec setting ?

    Code:
    
     SecRuleEngine On
     SecRequestBodyAccess On
     SecResponseBodyAccess On
     SecResponseBodyMimeType (null) text/html text/plain text/xml
     SecResponseBodyLimit 2621440
     SecServerSignature Apache
     SecComponentSignature 200911012341
     SecUploadDir /var/asl/data/suspicious
     SecUploadKeepFiles Off
     SecAuditEngine RelevantOnly
     SecAuditLogRelevantStatus "^(?:5|4(?!04))"
     SecAuditLogType Concurrent
     SecAuditLog logs/modsec_audit.log
     SecAuditLogParts ABIFHZ
     SecArgumentSeparator "&" 
     SecCookieFormat 0
     SecRequestBodyInMemoryLimit 131072
     SecDataDir /var/asl/data/msa
     SecTmpDir /tmp
     SecAuditLogStorageDir /var/asl/data/audit
     SecResponseBodyLimitAction ProcessPartial
     SecAuditLogDirMode 0770
     SecPcreMatchLimit 250000  
     SecPcreMatchLimitRecursion 250000
    
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page