aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-25 15:10:37 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-25 15:10:37 -0600
commit01e099b06265af3b07149288128e2480c71ba277 (patch)
tree56196e701dedcb9a0c1672175ad31c79aa99220c /network
parentf4ea68962bb6f78e6b058258637827f8f0706583 (diff)
network/policyd2: Fixed patch syntax for httpd-2.4.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/policyd2/patches/httpd_policyd2_conf.patch18
1 files changed, 12 insertions, 6 deletions
diff --git a/network/policyd2/patches/httpd_policyd2_conf.patch b/network/policyd2/patches/httpd_policyd2_conf.patch
index 35b5ea7c14c2..4dcc7b3392bf 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
-<Directory /usr/share/cluebringer/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
+<Directory @DOCROOT@/policyd2-webui>
- # 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
+ </Directory>