[packages/jquery/jquery-1.8] apache 1.3/2.x compatible config

glen glen at pld-linux.org
Wed Oct 16 17:34:58 CEST 2013


commit 4f65fd000f25dd8ca13646fdf090e75a0c31075c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 16 18:34:36 2013 +0300

    apache 1.3/2.x compatible config

 apache.conf | 9 ++++++++-
 jquery.spec | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/jquery.spec b/jquery.spec
index f9a9b37..2a0db91 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.8.3
-Release:	1
+Release:	3
 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/4f65fd000f25dd8ca13646fdf090e75a0c31075c



More information about the pld-cvs-commit mailing list