[packages/ckeditor] use unified apache config

glen glen at pld-linux.org
Thu Aug 8 13:12:22 CEST 2013


commit 27b4d831654a1a4d4ed0e6e2a573c963eadc1d8c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Aug 8 14:12:07 2013 +0300

    use unified apache config

 apache.conf   | 9 ++++++++-
 ckeditor.spec | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ckeditor.spec b/ckeditor.spec
index 5fd4b63..52c309f 100644
--- a/ckeditor.spec
+++ b/ckeditor.spec
@@ -5,7 +5,7 @@ Summary:	The text editor for Internet
 Summary(pl.UTF-8):	Edytor tekstowy dla Internetu
 Name:		ckeditor
 Version:	3.2.1
-Release:	2
+Release:	3
 License:	LGPL v2.1+ / GPL v2+ / MPL
 Group:		Applications/WWW
 Source0:	http://download.cksource.com/CKEditor/CKEditor/CKEditor%20%{version}/%{name}_%{version}.tar.gz
diff --git a/apache.conf b/apache.conf
index 83dff62..4516397 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,4 +1,11 @@
 Alias /ckeditor/ /usr/share/ckeditor/
 <Directory /usr/share/ckeditor>
-	Allow from all
+	<IfModule mod_authz_core.c>
+		# Apache 2.4
+		Require all granted
+	</IfModule>
+	<IfModule !mod_authz_core.c>
+		Order allow,deny
+		Allow from all
+	</IfModule>
 </Directory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ckeditor.git/commitdiff/27b4d831654a1a4d4ed0e6e2a573c963eadc1d8c



More information about the pld-cvs-commit mailing list