[packages/jquery-thickbox] unified apache config

glen glen at pld-linux.org
Tue Aug 27 16:09:14 CEST 2013


commit 51d1ca77df1d585c0104bf05b44a58ca590f7123
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 27 17:09:04 2013 +0300

    unified apache config

 jquery-thickbox.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/jquery-thickbox.spec b/jquery-thickbox.spec
index 9d47bb5..6b3d97f 100644
--- a/jquery-thickbox.spec
+++ b/jquery-thickbox.spec
@@ -5,7 +5,7 @@
 Summary:	ThickBox
 Name:		jquery-thickbox
 Version:	3.1
-Release:	12
+Release:	14
 License:	MIT / GPL
 Group:		Applications/WWW
 Source0:	http://jquery.com/demo/thickbox/thickbox-code/thickbox.js
@@ -61,7 +61,15 @@ cp -a %{SOURCE3} .
 cat > apache.conf <<'EOF'
 Alias /js/thickbox %{_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/jquery-thickbox.git/commitdiff/51d1ca77df1d585c0104bf05b44a58ca590f7123



More information about the pld-cvs-commit mailing list