commit 70fcfd5909d9a998c8ccbaa59bcc57f0a1d3dead
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 27 17:15:36 2013 +0300

    unified apache config

 apache.conf   | 10 +++++++++-
 js-phpjs.spec |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/js-phpjs.spec b/js-phpjs.spec
index 8136ca2..fce095e 100644
--- a/js-phpjs.spec
+++ b/js-phpjs.spec
@@ -2,7 +2,7 @@ Summary:        Use PHP functions in JavaScript
 Name:          js-phpjs
 # there seems not to be any unified version
 Version:       0.1
-Release:       3
+Release:       4
 License:       GPL, MIT
 Group:         Applications/WWW
 Source0:       https://github.com/kvz/phpjs/tarball/master/%{name}.tgz
diff --git a/apache.conf b/apache.conf
index 65161bc..b353f8e 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,4 +1,12 @@
 Alias /js/phpjs/ /usr/share/phpjs/
 <Directory /usr/share/phpjs>
-       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-phpjs.git/commitdiff/70fcfd5909d9a998c8ccbaa59bcc57f0a1d3dead

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

Reply via email to