Fix mod_security config
This commit is contained in:
parent
27a54356ee
commit
7f15e7fb90
@ -2,6 +2,11 @@ LoadModule security2_module modules/mod_security2.so
|
|||||||
LoadModule unique_id_module modules/mod_unique_id.so
|
LoadModule unique_id_module modules/mod_unique_id.so
|
||||||
|
|
||||||
<IfModule mod_security2.c>
|
<IfModule mod_security2.c>
|
||||||
|
# ModSecurity Core Rules Set configuration
|
||||||
|
Include modsecurity.d/*.conf
|
||||||
|
Include modsecurity.d/activated_rules/*.conf
|
||||||
|
|
||||||
|
# Default recommended configuration
|
||||||
SecRuleEngine On
|
SecRuleEngine On
|
||||||
SecRequestBodyAccess On
|
SecRequestBodyAccess On
|
||||||
SecRule REQUEST_HEADERS:Content-Type "text/xml" \
|
SecRule REQUEST_HEADERS:Content-Type "text/xml" \
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
Summary: Security module for the Apache HTTP Server
|
Summary: Security module for the Apache HTTP Server
|
||||||
Name: mod_security
|
Name: mod_security
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://www.modsecurity.org/
|
URL: http://www.modsecurity.org/
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -97,6 +97,9 @@ rm -rf %{buildroot}
|
|||||||
%attr(0755,root,root) %{_bindir}/mlogc-batch-load
|
%attr(0755,root,root) %{_bindir}/mlogc-batch-load
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 15 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.7.1-2
|
||||||
|
- Fix mod_security.conf
|
||||||
|
|
||||||
* Thu Nov 15 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.7.1-1
|
* Thu Nov 15 2012 Athmane Madjoudj <athmane@fedoraproject.org> 2.7.1-1
|
||||||
- Update to 2.7.1
|
- Update to 2.7.1
|
||||||
- Remove libxml2 build patch (upstreamed)
|
- Remove libxml2 build patch (upstreamed)
|
||||||
|
Loading…
Reference in New Issue
Block a user