commit 4f65fd000f25dd8ca13646fdf090e75a0c31075c
Author: Elan Ruusamäe <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to