[queuegraph] updated httpd configuration for apache 2.4 (bz #871472)

Bernard Johnson bjohnson at fedoraproject.org
Mon Dec 24 19:22:29 UTC 2012


commit 4ff934d0cb462bfabf9438f70f827a127d71b751
Author: Bernard Johnson <bjohnson at symetrix.com>
Date:   Mon Dec 24 12:22:09 2012 -0700

    updated httpd configuration for apache 2.4 (bz #871472)

 queuegraph.conf |   16 ++++++++++++----
 queuegraph.spec |    3 +++
 2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/queuegraph.conf b/queuegraph.conf
index 466aff7..b9faf1b 100644
--- a/queuegraph.conf
+++ b/queuegraph.conf
@@ -9,8 +9,16 @@ AddHandler cgi-script .cgi
     AllowOverride None
     Options +ExecCGI
     DirectoryIndex queuegraph.cgi
-
-    Order Deny,Allow
-    Deny from all
-    Allow from 127.0.0.1
+    <IfModule mod_authz_core.c>
+        # Apache 2.4
+        <RequireAny>
+            Require local
+        </RequireAny>
+    </IfModule>
+    <IfModule !mod_authz_core.c>
+        # Apache 2.2
+        Order Deny,Allow
+        Deny from all
+        Allow from 127.0.0.1
+    </IfModule>
 </Directory>
diff --git a/queuegraph.spec b/queuegraph.spec
index 22d652e..a942409 100644
--- a/queuegraph.spec
+++ b/queuegraph.spec
@@ -154,6 +154,9 @@ fi
 %endif
 
 %changelog
+* Mon Dec 24 2012 Bernard Johnson <bjohnson at symetrix.com> - 1.1-15
+- updated httpd configuration for apache 2.4 (bz #871472)
+
 * Fri Nov 23 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.1-14
 - The requirement on vixie-cron is not correct anymore. The dailyjobs will be
   used as virtual requirement since now. #879550


More information about the scm-commits mailing list