[dspam/f16] httpd 2.4 config fix

Nathanael Noblet gnat at fedoraproject.org
Thu Nov 29 18:01:23 UTC 2012


commit dc1ea023fa870c6f042154189bf939319cb9a269
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 b2bf889..db5d6da 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:                2%{?dist}
+Release:                3%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -379,6 +379,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-3
+- Fix dspam-web.conf file to work with httpd 2.4 and 2.2 bug#871396
+
 * Sun Oct 7 2012 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-2
 - Add exim patch
 - Require perl(Mail::MboxParser) fixes bug #622502


More information about the scm-commits mailing list