[packages/tinymce] unified apache config

glen glen at pld-linux.org
Tue Aug 27 16:18:30 CEST 2013


commit c6220444adfae66ea06700d5ffe17221efc63621
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 27 17:18:19 2013 +0300

    unified apache config

 tinymce.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/tinymce.spec b/tinymce.spec
index 9a5db49..7dbd36c 100644
--- a/tinymce.spec
+++ b/tinymce.spec
@@ -5,7 +5,7 @@ Summary:	Web based Javascript HTML WYSIWYG editor control
 Summary(pl.UTF-8):	Kontrolka edytora WYSIWYG HTML-a oparta na WWW z Javascriptem
 Name:		tinymce
 Version:	3.2.7
-Release:	1
+Release:	3
 License:	LGPL v2
 Group:		Applications/WWW
 Source0:	http://downloads.sourceforge.net/tinymce/%{name}_%{ver}.zip
@@ -81,7 +81,15 @@ rm -rf jscripts/tiny_mce/plugins/spellchecker
 cat <<'EOF' > apache.conf
 Alias /tiny_mce/ %{_appdir}/
 <Directory %{_appdir}>
-	Allow from all
+	# Apache 2.x
+	<IfModule !mod_authz_core.c>
+		Order allow,deny
+		Allow from all
+	</IfModule>
+	# Apache 2.4
+	<IfModule mod_authz_core.c>
+		Require all granted
+	</IfModule>
 </Directory>
 EOF
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tinymce.git/commitdiff/c6220444adfae66ea06700d5ffe17221efc63621



More information about the pld-cvs-commit mailing list