[packages/jquery] apache 1.3/2.0/2.2/2.4 compatible config

glen glen at pld-linux.org
Tue Aug 27 16:06:57 CEST 2013


commit 8b602812b9fb077c2c6ea00908953c01fd85430b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 27 17:06:48 2013 +0300

    apache 1.3/2.0/2.2/2.4 compatible config

 apache.conf | 9 ++++++++-
 jquery.spec | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/jquery.spec b/jquery.spec
index 98fe21c..9a89eac 100644
--- a/jquery.spec
+++ b/jquery.spec
@@ -8,7 +8,7 @@ Summary:	jQuery JavaScript Library
 Summary(pl.UTF-8):	Biblioteka JavaScriptu jQuery
 Name:		jquery
 Version:	1.9.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Applications/WWW
 Source0:	http://code.jquery.com/%{name}-%{version}.min.js
diff --git a/apache.conf b/apache.conf
index 0610772..1be1566 100644
--- a/apache.conf
+++ b/apache.conf
@@ -2,13 +2,20 @@ Alias /js/jquery/ /usr/share/jquery/
 # legacy
 Alias /jquery/ /usr/share/jquery/
 <Directory /usr/share/jquery>
+	Options +FollowSymLinks
 	# Apache 1.3 / 2.0
 	<IfModule mod_access.c>
 		Allow from all
 	</IfModule>
 	# Apache 2.2+
+	<IfModule !mod_authz_core.c>
 	<IfModule mod_authz_host.c>
 		Allow from all
 	</IfModule>
-	Options +FollowSymLinks
+	</IfModule>
+
+	<IfModule mod_authz_core.c>
+		# Apache 2.4
+		Require all granted
+	</IfModule>
 </Directory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery.git/commitdiff/8b602812b9fb077c2c6ea00908953c01fd85430b



More information about the pld-cvs-commit mailing list