{"id":125,"date":"2013-01-11T22:04:10","date_gmt":"2013-01-11T14:04:10","guid":{"rendered":"http:\/\/matnet.my\/blog\/?p=125"},"modified":"2013-01-11T22:04:10","modified_gmt":"2013-01-11T14:04:10","slug":"atomicorp-mod_security-with-cmc-at-cpanel-server","status":"publish","type":"post","link":"https:\/\/matnet.my\/blog\/2013\/01\/atomicorp-mod_security-with-cmc-at-cpanel-server\/","title":{"rendered":"Atomicorp mod_security with CMC at Cpanel Server"},"content":{"rendered":"<p>The issue is\u00a0\/usr\/local\/apache\/logs\/modsec_audit.log cannot view in CMC on WHM.<\/p>\n<p>To fix it just paste this into your modsec2.user.conf<\/p>\n<p><em>\u00a0SecRequestBodyAccess On<\/em><\/p>\n<p><em>\u00a0SecResponseBodyAccess On<\/em><br \/>\n<em>\u00a0SecResponseBodyMimeType (null) text\/html text\/plain text\/xml<\/em><br \/>\n<em>\u00a0SecResponseBodyLimit 2621440<\/em><br \/>\n<em>\u00a0SecServerSignature Apache<\/em><br \/>\n<em>\u00a0SecUploadDir \/var\/asl\/data\/suspicious<\/em><br \/>\n<em>\u00a0SecUploadKeepFiles Off<\/em><br \/>\n<em>\u00a0SecAuditLogParts ABIFHZ<\/em><br \/>\n<em>\u00a0SecArgumentSeparator &#8220;&amp;&#8221;\u00a0<\/em><br \/>\n<em>\u00a0SecCookieFormat 0<\/em><br \/>\n<em>\u00a0SecRequestBodyInMemoryLimit 131072<\/em><br \/>\n<em>\u00a0SecDataDir \/var\/asl\/data\/msa<\/em><br \/>\n<em>\u00a0SecTmpDir \/tmp<\/em><br \/>\n<em>\u00a0SecAuditLogStorageDir \/var\/asl\/data\/audit<\/em><br \/>\n<em>\u00a0SecResponseBodyLimitAction ProcessPartial<\/em><br \/>\n<em>\u00a0SecDataDir \/var\/asl\/data\/msa<\/em><\/p>\n<p><em># ConfigServer ModSecurity whitelist file<\/em><br \/>\n<em>Include \/usr\/local\/apache\/conf\/modsec2.whitelist.conf<\/em><\/p>\n<p><em>#ASL Rules<\/em><br \/>\n<em>Include \/usr\/local\/apache\/conf\/modsec_rules\/*asl*.conf<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The issue is\u00a0\/usr\/local\/apache\/logs\/modsec_audit.log cannot view in CMC on WHM. To fix it just paste this into your modsec2.user.conf \u00a0SecRequestBodyAccess On &hellip; <a href=\"https:\/\/matnet.my\/blog\/2013\/01\/atomicorp-mod_security-with-cmc-at-cpanel-server\/\" class=\"more-link\">More <span class=\"screen-reader-text\">Atomicorp mod_security with CMC at Cpanel Server<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,12,3],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-bsd-nix","category-cpanel-whm","category-www","standard"],"_links":{"self":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":2,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":127,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/125\/revisions\/127"}],"wp:attachment":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}