commit 527727a26fe893df0432001c1f324445cea0760a
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 27 17:11:19 2013 +0300

    unified apache config

 apache.conf       | 10 +++++++++-
 js-swfobject.spec |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/js-swfobject.spec b/js-swfobject.spec
index 8f87136..9b17f85 100644
--- a/js-swfobject.spec
+++ b/js-swfobject.spec
@@ -4,7 +4,7 @@ Summary:        JavaScript Flash Player detection and embed 
script
 Summary(pl.UTF-8):     Skrypt w JavaScripcie do wykrywania i osadzania Flash 
Playera
 Name:          js-%{plugin}
 Version:       2.2
-Release:       2
+Release:       4
 License:       MIT
 Group:         Applications/WWW
 Source0:       http://swfobject.googlecode.com/files/swfobject_%{ver}.zip
diff --git a/apache.conf b/apache.conf
index 571f56e..4938588 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,6 +1,14 @@
 Alias /js/swfobject.js /usr/share/swfobject/swfobject.js
 Alias /js/swfobject/ /usr/share/swfobject/
 <Directory /usr/share/swfobject>
-       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-swfobject.git/commitdiff/527727a26fe893df0432001c1f324445cea0760a

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

Reply via email to