[dspam] fix for dspam-web cgi not being executed
Nathanael Noblet
gnat at fedoraproject.org
Wed Jan 26 21:04:22 UTC 2011
commit 13b6e5fbf781941063cd9c4e1fe827f9e3c4acdf
Author: Nathanael D. Noblet <nathanael at gnat.ca>
Date: Wed Jan 26 14:04:10 2011 -0700
fix for dspam-web cgi not being executed
dspam-web.conf | 3 ++-
dspam.spec | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/dspam-web.conf b/dspam-web.conf
index 650f0f7..0cf00b9 100644
--- a/dspam-web.conf
+++ b/dspam-web.conf
@@ -3,6 +3,7 @@
#
Alias /dspam /usr/share/dspam-web
<Directory "/usr/share/dspam-web">
+ AddHandler cgi-script .cgi
DirectoryIndex dspam.cgi
AllowOverride None
Options ExecCGI
@@ -12,4 +13,4 @@ Alias /dspam /usr/share/dspam-web
AuthName "DSPAM WebUI login"
Require valid-user
#AuthUserFile /path/to/dspam-htpasswd
-</Directory>
\ No newline at end of file
+</Directory>
diff --git a/dspam.spec b/dspam.spec
index d38df0d..e779612 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -9,7 +9,7 @@
Summary: A library and Mail Delivery Agent for Bayesian SPAM filtering
Name: dspam
Version: 3.9.0
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -365,6 +365,9 @@ exit 0
%config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
%changelog
+* Wed Jan 26 2011 Nathanael Noblet <nathanael at gnat.ca> - 3.9.0-13
+- Fixed dspam-web cgi bug
+
* Wed Jan 26 2011 Nathanael Noblet <nathanael at gnat.ca> - 3.9.0-12
- Patch config & doc defaults to put the socket in /var/run/dspam
- remove ghosting
More information about the perl-devel
mailing list