From 01e099b06265af3b07149288128e2480c71ba277 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 25 Nov 2013 15:10:37 -0600 Subject: network/policyd2: Fixed patch syntax for httpd-2.4.x Signed-off-by: Robby Workman --- network/policyd2/patches/httpd_policyd2_conf.patch | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/network/policyd2/patches/httpd_policyd2_conf.patch b/network/policyd2/patches/httpd_policyd2_conf.patch index 35b5ea7c14..4dcc7b3392 100644 --- a/network/policyd2/patches/httpd_policyd2_conf.patch +++ b/network/policyd2/patches/httpd_policyd2_conf.patch @@ -1,6 +1,6 @@ ---- httpd-policyd2.conf.orig 2009-01-06 00:53:09.000000000 -0600 -+++ httpd-policyd2.conf.new 2009-12-25 15:25:50.593040339 -0600 -@@ -8,9 +8,9 @@ +--- cluebringer-httpd.conf.orig 2012-05-10 02:04:16.000000000 -0500 ++++ cluebringer-httpd.conf 2013-11-25 15:08:29.228400024 -0600 +@@ -8,11 +8,11 @@ # as well as the authors' long time involvement in large scale mail # hosting industry. @@ -8,7 +8,13 @@ +Alias /policyd2 @DOCROOT@/policyd2-webui - +- # Comment out the following 3 lines to make web ui accessible from anywhere +- Order Deny,Allow +- Deny from all +- Allow from 127.0.0.1 + - # Comment out the following 3 lines to make web ui accessible from anywhere - Order Deny,Allow - Deny from all ++ # Swap the commenting on the following two lines to make web ui ++ # accessible from anywhere ++ Require ip 127.0.0.1 ++ #Require all granted + -- cgit v1.2.3