From 7f15e7fb90ca84ebf6e6eaca24d9b806aafa5ba2 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Thu, 15 Nov 2012 05:43:58 +0100 Subject: [PATCH] Fix mod_security config --- mod_security.conf | 5 +++++ mod_security.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mod_security.conf b/mod_security.conf index 092758b..9a98bbc 100644 --- a/mod_security.conf +++ b/mod_security.conf @@ -2,6 +2,11 @@ LoadModule security2_module modules/mod_security2.so LoadModule unique_id_module modules/mod_unique_id.so + # ModSecurity Core Rules Set configuration + Include modsecurity.d/*.conf + Include modsecurity.d/activated_rules/*.conf + + # Default recommended configuration SecRuleEngine On SecRequestBodyAccess On SecRule REQUEST_HEADERS:Content-Type "text/xml" \ diff --git a/mod_security.spec b/mod_security.spec index 3b25e39..892be51 100644 --- a/mod_security.spec +++ b/mod_security.spec @@ -8,7 +8,7 @@ Summary: Security module for the Apache HTTP Server Name: mod_security Version: 2.7.1 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://www.modsecurity.org/ Group: System Environment/Daemons @@ -97,6 +97,9 @@ rm -rf %{buildroot} %attr(0755,root,root) %{_bindir}/mlogc-batch-load %changelog +* Thu Nov 15 2012 Athmane Madjoudj 2.7.1-2 +- Fix mod_security.conf + * Thu Nov 15 2012 Athmane Madjoudj 2.7.1-1 - Update to 2.7.1 - Remove libxml2 build patch (upstreamed)