[limph] Fix httpd 2.4.

Jon Ciesla limb at fedoraproject.org
Tue Oct 30 17:44:21 UTC 2012


commit 464a688e7dc41b6702b3f45eaef5e7086f784623
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Tue Oct 30 12:42:42 2012 -0500

    Fix httpd 2.4.

 limph.conf |   14 +++++++++++---
 limph.spec |    5 ++++-
 2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/limph.conf b/limph.conf
index 5e18c09..cb61ec2 100644
--- a/limph.conf
+++ b/limph.conf
@@ -5,7 +5,15 @@
 Alias /limph /usr/share/limph
 
 <Directory /usr/share/limph/>
-        Order Deny,Allow
-        Deny from all
-        Allow from 127.0.0.1
+  <IfModule mod_authz_core.c>
+    # Apache 2.4
+    Require local
+  </IfModule>
+  <IfModule !mod_authz_core.c>
+    # Apache 2.2
+    Order Deny,Allow
+    Deny from all
+    Allow from 127.0.0.1
+    Allow from ::1
+  /IfModule>
 </Directory>
diff --git a/limph.spec b/limph.spec
index 4224448..3bdc4c7 100644
--- a/limph.spec
+++ b/limph.spec
@@ -1,7 +1,7 @@
 %define limphdir %{_datadir}/limph
 Name: limph
 Version:  1.9.8.1
-Release:  3%{?dist}
+Release:  4%{?dist}
 Summary: A PHP5-compatible network host/service poller with web interface
 
 Group: Applications/System         
@@ -91,6 +91,9 @@ rm -rf %{buildroot}
 %{limphdir}/config.php
 
 %changelog
+* Tue Oct 30 2012 Jon Ciesla <limburger at gmail.com> - 1.9.8.1-4
+- Fix for httpd 2.4, BZ 871414.
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.8.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list