1 |
unnilennium |
1.1 |
diff -Nur smeserver-cacti-0.8.8b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/cacti.conf smeserver-cacti-0.8.8b-new/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/cacti.conf |
2 |
|
|
--- smeserver-cacti-0.8.8b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/cacti.conf 2013-08-30 19:47:00.000000000 -0400 |
3 |
|
|
+++ smeserver-cacti-0.8.8b-new/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/cacti.conf 1969-12-31 19:00:00.000000000 -0500 |
4 |
|
|
@@ -1,57 +0,0 @@ |
5 |
|
|
-# |
6 |
|
|
-# Cacti: An rrd based graphing tool |
7 |
|
|
-# |
8 |
|
|
- |
9 |
|
|
-# For security reasons, the Cacti web interface is accessible only to |
10 |
|
|
-# localhost in the default configuration. If you want to allow other clients |
11 |
|
|
-# to access your Cacti installation, change the httpd ACLs below. |
12 |
|
|
-# For example: |
13 |
|
|
-# On httpd 2.4, change "Require host localhost" to "Require all granted". |
14 |
|
|
-# On httpd 2.2, change "Allow from localhost" to "Allow from all". |
15 |
|
|
- |
16 |
|
|
-Alias /cacti /usr/share/cacti |
17 |
|
|
- |
18 |
|
|
-<Directory /usr/share/cacti/> |
19 |
|
|
- <IfModule mod_authz_core.c> |
20 |
|
|
- # httpd 2.4 |
21 |
|
|
- Require host localhost |
22 |
|
|
- </IfModule> |
23 |
|
|
- <IfModule !mod_authz_core.c> |
24 |
|
|
- # httpd 2.2 |
25 |
|
|
- Order deny,allow |
26 |
|
|
- Deny from all |
27 |
|
|
- Allow from localhost |
28 |
|
|
- </IfModule> |
29 |
|
|
-</Directory> |
30 |
|
|
- |
31 |
|
|
-<Directory /usr/share/cacti/install> |
32 |
|
|
- # mod_security overrides. |
33 |
|
|
- # Uncomment these if you use mod_security. |
34 |
|
|
- # allow POST of application/x-www-form-urlencoded during install |
35 |
|
|
- #SecRuleRemoveById 960010 |
36 |
|
|
- # permit the specification of the rrdtool paths during install |
37 |
|
|
- #SecRuleRemoveById 900011 |
38 |
|
|
-</Directory> |
39 |
|
|
- |
40 |
|
|
- |
41 |
|
|
-# These sections marked "Require all denied" (or "Deny from all") |
42 |
|
|
-# should not be modified. |
43 |
|
|
-# These are in place in order to harden Cacti. |
44 |
|
|
-<Directory /usr/share/cacti/log> |
45 |
|
|
- <IfModule mod_authz_core.c> |
46 |
|
|
- Require all denied |
47 |
|
|
- </IfModule> |
48 |
|
|
- <IfModule !mod_authz_core.c> |
49 |
|
|
- Order deny,allow |
50 |
|
|
- Deny from all |
51 |
|
|
- </IfModule> |
52 |
|
|
-</Directory> |
53 |
|
|
-<Directory /usr/share/cacti/rra> |
54 |
|
|
- <IfModule mod_authz_core.c> |
55 |
|
|
- Require all denied |
56 |
|
|
- </IfModule> |
57 |
|
|
- <IfModule !mod_authz_core.c> |
58 |
|
|
- Order deny,allow |
59 |
|
|
- Deny from all |
60 |
|
|
- </IfModule> |
61 |
|
|
-</Directory> |