[phpwapmail] fix apache config file (#871373)
Dmitry Butskoy
buc at fedoraproject.org
Wed Oct 31 12:37:48 UTC 2012
commit 7a1d6b1b418693b3722ee2003a8c373087e39617
Author: Dmitry Butskoy <Dmitry at Butskoy.name>
Date: Wed Oct 31 16:37:32 2012 +0400
fix apache config file (#871373)
phpwapmail.spec | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/phpwapmail.spec b/phpwapmail.spec
index 3e7e0ff..730e00c 100644
--- a/phpwapmail.spec
+++ b/phpwapmail.spec
@@ -1,7 +1,7 @@
Name: phpwapmail
Summary: WAP-based e-mail client
Version: 0.9.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Applications/Internet
License: GPLv2+
URL: http://phpwapmail.sourceforge.net
@@ -61,10 +61,17 @@ cat <<EOF >%{name}.conf
Alias /%{name} %{_datadir}/%{name}
<Directory %{_datadir}/%{name}>
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1
- Allow from ::1
+ <IfModule mod_authz_core.c>
+ # Apache 2.4
+ Require local
+ </IfModule>
+ <IfModule !mod_authz_core.c>
+ # Apache 2.2
+ Order Deny,Allow
+ Deny from all
+ Allow from 127.0.0.1
+ Allow from ::1
+ </IfModule>
</Directory>
EOF
@@ -94,6 +101,9 @@ fi
%changelog
+* Wed Oct 31 2012 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.9.4-5
+- fix apache config file (#871373)
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list