[packages/js-fileuploader] unified apache config
glen
glen at pld-linux.org
Tue Aug 27 16:17:41 CEST 2013
commit 45c0571a571ab28c7b7cdb12938026aa8ecd46f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 27 17:17:28 2013 +0300
unified apache config
js-fileuploader.spec | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/js-fileuploader.spec b/js-fileuploader.spec
index 6a430c4..0f6ff58 100644
--- a/js-fileuploader.spec
+++ b/js-fileuploader.spec
@@ -2,7 +2,7 @@
Summary: Multiple file upload plugin with progress-bar, drag-and-drop
Name: js-%{plugin}
Version: 2.0
-Release: 2
+Release: 4
License: MIT, GPL v2 or LGPL v2
Group: Applications/WWW
Source0: https://github.com/downloads/valums/file-uploader/%{version}.zip
@@ -51,8 +51,16 @@ Demonstrations and samples for %{plugin}.
cat > apache.conf <<'EOF'
Alias /js/%{plugin} %{_appdir}
<Directory %{_appdir}>
- 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>
EOF
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/js-fileuploader.git/commitdiff/45c0571a571ab28c7b7cdb12938026aa8ecd46f8
More information about the pld-cvs-commit
mailing list