commit 7c3d86f33fa34883764ea191d3c013df7313f956
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 27 17:10:36 2013 +0300

    unified apache config

 apache.conf       | 10 +++++++++-
 js-swfupload.spec |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/js-swfupload.spec b/js-swfupload.spec
index 39f1df1..ed6dffd 100644
--- a/js-swfupload.spec
+++ b/js-swfupload.spec
@@ -3,7 +3,7 @@
 Summary:       JavaScript & Flash Upload Library
 Name:          js-%{plugin}
 Version:       2.2.0.1
-Release:       1
+Release:       3
 License:       MIT
 Group:         Applications/WWW
 Source0:       
https://swfupload.googlecode.com/files/SWFUpload%20v%{version}%20Core.zip?/SWFUpload_v%{version}_Core.zip
diff --git a/apache.conf b/apache.conf
index 33e5328..da9cb2e 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,5 +1,13 @@
 Alias /js/swfupload/ /usr/share/swfupload/
 <Directory /usr/share/swfupload>
-       Allow from all
        Options +FollowSymLinks
+       # 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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/js-swfupload.git/commitdiff/7c3d86f33fa34883764ea191d3c013df7313f956

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

Reply via email to