{"id":1007,"date":"2020-06-04T18:13:51","date_gmt":"2020-06-04T10:13:51","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=1007"},"modified":"2026-01-12T12:21:08","modified_gmt":"2026-01-12T04:21:08","slug":"what-is-modsecurity-and-how-to-check-on-the-error-log-triggered","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/what-is-modsecurity-and-how-to-check-on-the-error-log-triggered","title":{"rendered":"What is modsecurity and how to check on the error log triggered"},"content":{"rendered":"<h4 dir=\"ltr\"><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.plothost.com\/wp-content\/uploads\/2021\/11\/modsec-logo.webp\" alt=\"Configure modsecurity for detection only - PlotHost\" width=\"418\" height=\"109\" \/><\/h4>\n<h4 dir=\"ltr\"><strong>What is modsecurity and how to check on the error log triggered?<\/strong><\/h4>\n<p dir=\"ltr\"><a href=\"https:\/\/modsecurity.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Modsecurity<\/a> is a web application firewall that can work either embedded or as a reverse proxy. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.<\/p>\n<p dir=\"ltr\">Modsecurity is currently installed on all shared web hosting servers in an effort to block against attacks against customer websites.<\/p>\n<p dir=\"ltr\">Attacks against your website that modsecurity has blocked are logged to the error log file for your account. This log file can be viewed in the hosting control panel.<\/p>\n<p dir=\"ltr\">You can find the error log from your cPanel.<\/p>\n<p dir=\"ltr\">1. Login to cPanel.<\/p>\n<p dir=\"ltr\">2. Go to Error Log.<\/p>\n<p dir=\"ltr\">3. You can see all the recent error of your account here.<\/p>\n<p dir=\"ltr\">\n","protected":false},"excerpt":{"rendered":"<p>What is modsecurity and how to check on the error log triggered? Modsecurity is a web application firewall that can work either embedded or as a reverse proxy. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. Modsecurity is currently installed on all shared web hosting servers in&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[34],"kbtag":[1563],"class_list":["post-1007","kb","type-kb","status-publish","hentry","kbtopic-cpanel","kbtag-mod_security"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":5,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1007\/revisions"}],"predecessor-version":[{"id":5927,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1007\/revisions\/5927"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=1007"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}