{"id":5022,"date":"2020-08-26T11:26:03","date_gmt":"2020-08-26T11:26:03","guid":{"rendered":"http:\/\/cloudminister.com\/?p=5022"},"modified":"2025-09-22T07:42:05","modified_gmt":"2025-09-22T07:42:05","slug":"modsecurity-configuration-cwp-differs-from-csf","status":"publish","type":"post","link":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/","title":{"rendered":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/image.png\" alt=\"\" class=\"wp-image-36694\" srcset=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/image.png 1024w, https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/image-300x169.png 300w, https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/image-768x432.png 768w, https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/image-352x199.png 352w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<h2><b>ModSecurity<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent <a href=\"https:\/\/cloudminister.com\/linux-vps-server\/\">web servers<\/a> from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It helps to protect from various attacks happen in our surroundings ,like:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Session hijacking, SQL injection, trojans, etc.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">ModSecurity is different from CSF as CSF provides server security for FTP, SSH, and various Ports, but there is no protection for web servers which is why ModSecurity modules help to protect web <a href=\"https:\/\/cloudminister.com\/server-management\/\">servers<\/a>.<\/span><\/p>\n<h2><b>Configure ModSecurity<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">To configure ModSecurity in CWP, first, you need to log in to the CWP <a href=\"https:\/\/cloudminister.com\/cpanel-servers\/\">admin panel<\/a> on the 2087 port. Then select the <a href=\"https:\/\/cloudminister.com\/ssl-certificates\/\">Security<\/a> drop-down option, and inside it select ModSecurity.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/img46.png\" \/><\/p>\n<p>In CWP, only one ModSecurity is freely available, and the other two come with the CWP Pro version. Click on Install ModSecurity Configuration, and it takes some time.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/img47.png\" \/><\/p>\n<p>After the installation is completed, it shows a log file. Now you must restart the Apache server to see the effect.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/img48.png\" \/><\/p>\n<p>Now you can also check the error logs by clicking on the Error Log tab on the top.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/img49.png\" \/><\/p>\n<p dir=\"ltr\">Most Common Errors<\/p>\n<p dir=\"ltr\">If you get 403 Forbidden messages, that means that the ModSecurity rules work; now check the error log file and search for the rule IDs that are displayed.<\/p>\n<p dir=\"ltr\">To solve the above problem, copy the rule ID, click on accounts, and click on Edit Rules.<\/p>\n<p dir=\"ltr\"><img decoding=\"async\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/img50.png\" \/><\/p>\n<p style=\"font-weight: 200;\"><span style=\"font-weight: 400;\">Make an entry in the edit file like this:<\/span><\/p>\n<p style=\"font-weight: 200;\"><span style=\"font-weight: 400;\">SecRuleRemoveById 970091<\/span><\/p>\n<p style=\"font-weight: 200;\"><span style=\"font-weight: 400;\">Save the changes.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/img51.png\" \/><\/p>\n<p>After the above changes in a file, the error 403 will be resolved.<\/p>\n<h3>CONCLUSION<\/h3>\n<p>The above configuration shows how to configure ModSecurity in CWP and <strong>enhance web-based security<\/strong>.<\/p>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity&#8230;<\/p>\n","protected":false},"author":3,"featured_media":5023,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[235,56,309,809,288],"tags":[54,321,313,322,323],"class_list":["post-5022","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cwp-basics","category-cwp-panel","category-modsecurity","category-web-panel","tag-centos-web-panel","tag-configure-modsecurity","tag-cwp7-admin","tag-mod-security-configurator","tag-modsecurity"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Chandni Jagga\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CloudMinister -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister\" \/>\n\t\t<meta property=\"og:description\" content=\"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-08-26T11:26:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-09-22T07:42:05+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister\" \/>\n\t\t<meta name=\"twitter:description\" content=\"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#blogposting\",\"name\":\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister\",\"headline\":\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?\",\"author\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/chandni-jagga\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/2-4.jpg\",\"width\":2240,\"height\":1260,\"caption\":\"ModSecurity is an open source web based application firewalls are deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like: nginx, apache and IIS.\"},\"datePublished\":\"2020-08-26T11:26:03+00:00\",\"dateModified\":\"2025-09-22T07:42:05+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#webpage\"},\"articleSection\":\"Centos, CWP Basics, CWP Panel, ModSecurity, Web Panel, centos web panel, Configure ModSecurity, CWP7.Admin, Mod Security Configurator, ModSecurity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/cwp-basics\\\/#listItem\",\"name\":\"CWP Basics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/cwp-basics\\\/#listItem\",\"position\":2,\"name\":\"CWP Basics\",\"item\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/cwp-basics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#listItem\",\"name\":\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#listItem\",\"position\":3,\"name\":\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/cwp-basics\\\/#listItem\",\"name\":\"CWP Basics\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\",\"name\":\"CloudMinister\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/chandni-jagga\\\/#author\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/chandni-jagga\\\/\",\"name\":\"Chandni Jagga\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c101d3632e0df7ea4ac1564b37a7816ecac934c6d100f3524c24e52281a178ab?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Chandni Jagga\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#webpage\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/\",\"name\":\"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister\",\"description\":\"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/chandni-jagga\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/chandni-jagga\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/2-4.jpg\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#mainImage\",\"width\":2240,\"height\":1260,\"caption\":\"ModSecurity is an open source web based application firewalls are deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like: nginx, apache and IIS.\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/modsecurity-configuration-cwp-differs-from-csf\\\/#mainImage\"},\"datePublished\":\"2020-08-26T11:26:03+00:00\",\"dateModified\":\"2025-09-22T07:42:05+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\",\"name\":\"CloudMinister\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister","description":"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity","canonical_url":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#blogposting","name":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister","headline":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?","author":{"@id":"https:\/\/cloudminister.com\/blog\/author\/chandni-jagga\/#author"},"publisher":{"@id":"https:\/\/cloudminister.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/2-4.jpg","width":2240,"height":1260,"caption":"ModSecurity is an open source web based application firewalls are deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like: nginx, apache and IIS."},"datePublished":"2020-08-26T11:26:03+00:00","dateModified":"2025-09-22T07:42:05+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#webpage"},"isPartOf":{"@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#webpage"},"articleSection":"Centos, CWP Basics, CWP Panel, ModSecurity, Web Panel, centos web panel, Configure ModSecurity, CWP7.Admin, Mod Security Configurator, ModSecurity"},{"@type":"BreadcrumbList","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/cloudminister.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/cwp-basics\/#listItem","name":"CWP Basics"}},{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/cwp-basics\/#listItem","position":2,"name":"CWP Basics","item":"https:\/\/cloudminister.com\/blog\/category\/cwp-basics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#listItem","name":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#listItem","position":3,"name":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?","previousItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/cwp-basics\/#listItem","name":"CWP Basics"}}]},{"@type":"Organization","@id":"https:\/\/cloudminister.com\/blog\/#organization","name":"CloudMinister","url":"https:\/\/cloudminister.com\/blog\/"},{"@type":"Person","@id":"https:\/\/cloudminister.com\/blog\/author\/chandni-jagga\/#author","url":"https:\/\/cloudminister.com\/blog\/author\/chandni-jagga\/","name":"Chandni Jagga","image":{"@type":"ImageObject","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c101d3632e0df7ea4ac1564b37a7816ecac934c6d100f3524c24e52281a178ab?s=96&d=mm&r=g","width":96,"height":96,"caption":"Chandni Jagga"}},{"@type":"WebPage","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#webpage","url":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/","name":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister","description":"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cloudminister.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#breadcrumblist"},"author":{"@id":"https:\/\/cloudminister.com\/blog\/author\/chandni-jagga\/#author"},"creator":{"@id":"https:\/\/cloudminister.com\/blog\/author\/chandni-jagga\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/2-4.jpg","@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#mainImage","width":2240,"height":1260,"caption":"ModSecurity is an open source web based application firewalls are deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like: nginx, apache and IIS."},"primaryImageOfPage":{"@id":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/#mainImage"},"datePublished":"2020-08-26T11:26:03+00:00","dateModified":"2025-09-22T07:42:05+00:00"},{"@type":"WebSite","@id":"https:\/\/cloudminister.com\/blog\/#website","url":"https:\/\/cloudminister.com\/blog\/","name":"CloudMinister","inLanguage":"en-US","publisher":{"@id":"https:\/\/cloudminister.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"CloudMinister -","og:type":"article","og:title":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister","og:description":"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity","og:url":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/","article:published_time":"2020-08-26T11:26:03+00:00","article:modified_time":"2025-09-22T07:42:05+00:00","twitter:card":"summary_large_image","twitter:title":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)? - CloudMinister","twitter:description":"ModSecurity ModSecurity is an open-source web-based application firewall is deployed to establish an external security layer to prevent web servers from various attacks. ModSecurity is also supported by different web servers like Nginx, Apache, and IIS. It helps to protect from various attacks happen in our surroundings ,like: Session hijacking, SQL injection, trojans, etc. ModSecurity"},"aioseo_meta_data":{"post_id":"5022","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2025-05-21 07:37:11","updated":"2025-09-22 07:42:33","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudminister.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudminister.com\/blog\/category\/cwp-basics\/\" title=\"CWP Basics\">CWP Basics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tWhat is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cloudminister.com\/blog\/"},{"label":"CWP Basics","link":"https:\/\/cloudminister.com\/blog\/category\/cwp-basics\/"},{"label":"What is the ModSecurity, how it is different from CSF and how to configure ModSecurity on Centos Web Panel (CWP)?","link":"https:\/\/cloudminister.com\/blog\/modsecurity-configuration-cwp-differs-from-csf\/"}],"_links":{"self":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/5022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/comments?post=5022"}],"version-history":[{"count":2,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/5022\/revisions"}],"predecessor-version":[{"id":36697,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/5022\/revisions\/36697"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/media\/5023"}],"wp:attachment":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/media?parent=5022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/categories?post=5022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/tags?post=5022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}