commit 362e9b4e203faf8844e8ad73de08fbdec8cc5f06
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 27 17:12:09 2013 +0300

    unified apache config

 apache.conf      | 10 +++++++++-
 js-plupload.spec |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/js-plupload.spec b/js-plupload.spec
index 7a0de9f..aa17dc8 100644
--- a/js-plupload.spec
+++ b/js-plupload.spec
@@ -3,7 +3,7 @@
 Summary:       Multiple file upload utility using Flash, Silverlight, Google 
Gears, HTML5 or BrowserPlus
 Name:          js-%{plugin}
 Version:       1.5.3
-Release:       1
+Release:       3
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       
https://github.com/downloads/moxiecode/plupload/plupload_%{ver}.zip
diff --git a/apache.conf b/apache.conf
index 93f49fb..9f1cdb9 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,4 +1,12 @@
 Alias /js/plupload /usr/share/plupload
 <Directory /usr/share/plupload>
-       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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/js-plupload.git/commitdiff/362e9b4e203faf8844e8ad73de08fbdec8cc5f06

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

Reply via email to