{"id":24447,"date":"2022-02-02T14:35:50","date_gmt":"2022-02-02T14:35:50","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/wsp-resolving-http-error-403-0-modsecurity-action\/"},"modified":"2023-11-14T10:04:30","modified_gmt":"2023-11-14T10:04:30","slug":"wsp-resolving-http-error-403-0-modsecurity-action","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/","title":{"rendered":"WSP: Resolving HTTP Error 403.0 &#8211; ModSecurity Action"},"content":{"rendered":"<blockquote><p><span style=\"font-weight: 400;\">HTTP Error 403.0, often triggered by ModSecurity rules, can be a frustrating roadblock for website owners. ModSecurity is a powerful web application firewall designed to protect your web applications from various threats. However, it may sometimes block legitimate requests, causing the infamous Error 403.0. <\/span><\/p>\n<p><span style=\"color: #000000;\">This article provides you with steps to whitelisting ModSecurity rules in your WSP Control Panel.<\/span><\/p><\/blockquote>\n<p><span style=\"font-size: 18px; color: #000000;\"><strong>Step 1 &#8211;<\/strong> Login to WSP<\/span><\/p>\n<ul style=\"box-sizing: border-box; margin: 8px 0px 4px; padding: 0px 0px 0px 40px; list-style-position: outside; list-style-image: initial; line-height: 17px; color: #333333; font-family: Tahoma, Verdana, Segoe, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;\">\n<li style=\"box-sizing: border-box; line-height: 20.8px; font-size: 16px !important; margin: 0px; word-break: normal; overflow-wrap: break-word; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\"><span style=\"box-sizing: border-box; font-size: 14px;\"><span style=\"color: #000000;\">Go to any internet browser and type<\/span> <a style=\"box-sizing: border-box; background-color: transparent; color: #00c1dc; text-decoration: none; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\" href=\"http:\/\/cp.cpt.wa.co.za\/\" data-fr-linked=\"true\">http:\/\/cp.cpt.wa.co.za<\/a><\/span><\/li>\n<li style=\"box-sizing: border-box; line-height: 20.8px; font-size: 16px !important; margin: 0px; word-break: normal; overflow-wrap: break-word; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\"><span style=\"box-sizing: border-box; font-size: 14px; color: #000000;\">Log in with your WSP username and password received during your application.<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 579px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33042328933\/original\/GC5lXUAI_SylbsrmiIIhED3sV-m9Ck7TWg.png?1592821268\" height=\"320\" data-attachment=\"[object Object]\" data-id=\"33042328933\" \/><\/p>\n<p><span style=\"color: #000000;\"><span style=\"font-size: 18px;\"><strong>Step 2 &#8211;<\/strong> Go into the wwwroot of the website and create a file called\u00a0<\/span><strong><span style=\"font-size: 18px;\">disabled_rules.conf<\/span><\/strong><\/span><\/p>\n<p><strong><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 595px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33042331177\/original\/FarGpq783vhlj7ZNLNEnYSBkJLf_uuVICg.png?1592824099\" height=\"425\" data-id=\"33042330696\" \/><\/strong><\/p>\n<p><span style=\"font-size: 18px; color: #000000;\"><strong>Step 3<\/strong>\u00a0&#8211; Edit the file<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Edit the file and insert the\u00a0following line:<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><strong>SecRuleRemoveByID &lt;RULEIDTRIGGERED&gt;<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">Example from above, you will enter:<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>SecRuleRemoveByID 981173<\/strong><\/span><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><span style=\"color: #000000;\"><strong>You can make use of the following list, if any further errors pop, please speak to one of the seniors.<\/strong><\/span><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><span style=\"color: #000000;\">SecRuleRemoveByID 200002<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 950120<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 950901<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 959072<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 960035<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 973300<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 973333<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 973337<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 973338<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 981172<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 981173<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 981231<\/span><br \/>\n<span style=\"color: #000000;\">SecRuleRemoveByID 981257<\/span><\/p>\n<ul>\n<li>Click <strong>Create<\/strong><\/li>\n<\/ul>\n<p><span style=\"font-size: 18px; color: #000000;\"><strong>Step 4 &#8211; <\/strong>Lastly Edit the <strong>web.config<\/strong> file<\/span><\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 599px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33042330982\/original\/bUUJhNdIbw9IJE0lMylMhTRzAVw_mHPN5g.png?1592823856\" data-id=\"33042330941\" \/><\/p>\n<p><span style=\"color: #000000;\">At the bottom of the system.webserver section, add the following:<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>&lt;ModSecurity enabled=&#8221;true&#8221; configFile=&#8221;&lt;FULL PATH&gt;disabled_rules.conf&#8221; \/&gt;<\/strong><\/span><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><span style=\"color: #000000;\"><strong>&lt;FULL PATH&gt;\u00a0<\/strong>refers to the file path on the server e.g \u00a0F:Domainsusernamedomainnamewwwroot<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Please note<\/strong><strong>: Ensure spacing is correct as it will break site if not<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">This line will call the above-created .conf file and exclude the rule<\/span><\/p>\n<p><span style=\"color: #000000;\">See below example of the line added to <strong>web.config<\/strong>:<\/span><\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: auto;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33042331039\/original\/svGElXU-mjYQ-dyXgctt84Viq7_Zp2SMuw.png?1592823950\" data-attachment=\"[object Object]\" data-id=\"33042331039\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTTP Error 403.0, often triggered by ModSecurity rules, can be a frustrating roadblock for website owners. ModSecurity is a powerful web application firewall designed to protect your web applications from various threats. However, it may sometimes block legitimate requests, causing the infamous Error 403.0. This article provides you with steps&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1201],"ht-kb-tag":[48,62,369,470,492,638,1356,891],"class_list":["post-24447","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-troubleshooting-website","ht_kb_tag-48","ht_kb_tag-action","ht_kb_tag-error","ht_kb_tag-hosting","ht_kb_tag-http","ht_kb_tag-mod","ht_kb_tag-resolving","ht_kb_tag-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Wsp: Resolving Http Error 403.0 Modsecurity Action<\/title>\n<meta name=\"description\" content=\"Resolve HTTP Error 403.0 (ModSecurity Action) effortlessly using our comprehensive guide: 1-grid Knowledge Base\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wsp: Resolving Http Error 403.0 Modsecurity Action\" \/>\n<meta property=\"og:description\" content=\"Resolve HTTP Error 403.0 (ModSecurity Action) effortlessly using our comprehensive guide: 1-grid Knowledge Base\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-14T10:04:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33042328933\/original\/GC5lXUAI_SylbsrmiIIhED3sV-m9Ck7TWg.png?1592821268\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/\",\"name\":\"Wsp: Resolving Http Error 403.0 Modsecurity Action\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-02T14:35:50+00:00\",\"dateModified\":\"2023-11-14T10:04:30+00:00\",\"description\":\"Resolve HTTP Error 403.0 (ModSecurity Action) effortlessly using our comprehensive guide: 1-grid Knowledge Base\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WSP: Resolving HTTP Error 403.0 &#8211; ModSecurity Action\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wsp: Resolving Http Error 403.0 Modsecurity Action","description":"Resolve HTTP Error 403.0 (ModSecurity Action) effortlessly using our comprehensive guide: 1-grid Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/","og_locale":"en_US","og_type":"article","og_title":"Wsp: Resolving Http Error 403.0 Modsecurity Action","og_description":"Resolve HTTP Error 403.0 (ModSecurity Action) effortlessly using our comprehensive guide: 1-grid Knowledge Base","og_url":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-11-14T10:04:30+00:00","og_image":[{"url":"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33042328933\/original\/GC5lXUAI_SylbsrmiIIhED3sV-m9Ck7TWg.png?1592821268"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/","url":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/","name":"Wsp: Resolving Http Error 403.0 Modsecurity Action","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-02T14:35:50+00:00","dateModified":"2023-11-14T10:04:30+00:00","description":"Resolve HTTP Error 403.0 (ModSecurity Action) effortlessly using our comprehensive guide: 1-grid Knowledge Base","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/wsp-resolving-http-error-4030-modsecurity-action\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"WSP: Resolving HTTP Error 403.0 &#8211; ModSecurity Action"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24447"}],"version-history":[{"count":3,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24447\/revisions"}],"predecessor-version":[{"id":33054,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24447\/revisions\/33054"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24447"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24447"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}