diff options
-rw-r--r-- | network/policyd2/patches/httpd_policyd2_conf.patch | 18 |
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 35b5ea7c14c2b..4dcc7b3392bfc 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>
|