[dspam/f18] httpd 2.4 config fix
Nathanael Noblet
gnat at fedoraproject.org
Thu Nov 29 18:01:33 UTC 2012
commit 508f9810d6822204a75bbdfcaf92a649eee99e24
Author: Nathanael D. Noblet <nathanael at gnat.ca>
Date: Thu Nov 29 10:55:57 2012 -0700
httpd 2.4 config fix
dspam-web.conf | 7 +++++--
dspam.spec | 5 ++++-
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/dspam-web.conf b/dspam-web.conf
index e2d9274..ff40890 100644
--- a/dspam-web.conf
+++ b/dspam-web.conf
@@ -14,10 +14,13 @@
#SSLCertificateKeyFile /etc/pki/tls/private/hostname.key
<Directory "/var/www/dspam">
- AllowOverride None
- Options -Indexes +ExecCGI
+ AllowOverride None
+ <IfModule !mod_authz_core.c>
+ # Apache 2.2
Order allow,deny
Allow from all
+ </IfModule>
+ Options -Indexes +ExecCGI
AuthType Basic
AuthName "DSPAM WebUI login"
AuthUserFile /var/www/dspam-passwd
diff --git a/dspam.spec b/dspam.spec
index 9b2e601..25754e1 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
Summary: A library and Mail Delivery Agent for Bayesian SPAM filtering
Name: dspam
Version: 3.10.2
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +367,9 @@ exit 0
%config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
%changelog
+* Thu Nov 29 2012 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-5
+- Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
+
* Thu Oct 11 2012 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-4
- Removed chkconfig and use systemd macros
More information about the perl-devel
mailing list