[beacon] fix configuration file for httpd 2.4, #871377
Remi Collet
remi at fedoraproject.org
Sat Jan 5 08:19:18 UTC 2013
commit b1b89d5014270814e67e6dd29e7e2faee45c8a9c
Author: Remi Collet <remi at fedoraproject.org>
Date: Sat Jan 5 09:19:10 2013 +0100
fix configuration file for httpd 2.4, #871377
beacon.spec | 7 ++++++-
httpd-beacon.conf | 15 +++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/beacon.spec b/beacon.spec
index d06814f..968ad7c 100644
--- a/beacon.spec
+++ b/beacon.spec
@@ -1,12 +1,13 @@
Name: beacon
Version: 0.5
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: WYSIWYG editor for docbook xml
Group: Applications/Editors
License: GPLv3+
URL: http://fedoraproject.org/wiki/DocBook_Editor
Source0: %{name}-%{version}.tar.gz
+Source1: httpd-beacon.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php, httpd, php-xml, mysql-server, mysql, php-mysql
@@ -23,6 +24,7 @@ https://fedoraproject.org/wiki/DocBook_Editor_Feature.
%prep
%setup -q
+cp %{SOURCE1} httpd-beacon.conf
%build
# Empty build
@@ -51,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Dec 5 2013 Remi Collet <rcollet at redhat.com> - 0.5-8
+- fix configuration file for httpd 2.4, #871377
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/httpd-beacon.conf b/httpd-beacon.conf
new file mode 100644
index 0000000..d5666d6
--- /dev/null
+++ b/httpd-beacon.conf
@@ -0,0 +1,15 @@
+# Beacon specific httpd conf file
+#PHPIniDir "/etc/beacon/php-beacon.ini"
+Alias /beacon /usr/share/beacon
+
+<Directory /usr/share/beacon>
+ <IfModule mod_authz_core.c>
+ # Apache 2.4
+ Require all granted
+ <IfModule !mod_authz_core.c>
+ </IfModule>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+</Directory>
+
More information about the scm-commits
mailing list