1 |
# |
2 |
# Zabbix monitoring system php web frontend |
3 |
# |
4 |
|
5 |
Alias /zabbix /usr/share/zabbix |
6 |
|
7 |
<Directory "/usr/share/zabbix"> |
8 |
Options FollowSymLinks |
9 |
AllowOverride None |
10 |
Order allow,deny |
11 |
Allow from all |
12 |
|
13 |
<IfModule mod_php5.c> |
14 |
php_value max_execution_time 300 |
15 |
php_value memory_limit 128M |
16 |
php_value post_max_size 16M |
17 |
php_value upload_max_filesize 2M |
18 |
php_value max_input_time 300 |
19 |
php_value max_input_vars 10000 |
20 |
php_value always_populate_raw_post_data -1 |
21 |
# php_value date.timezone Europe/Riga |
22 |
</IfModule> |
23 |
</Directory> |
24 |
|
25 |
<Directory "/usr/share/zabbix/conf"> |
26 |
Order deny,allow |
27 |
Deny from all |
28 |
<files *.php> |
29 |
Order deny,allow |
30 |
Deny from all |
31 |
</files> |
32 |
</Directory> |
33 |
|
34 |
<Directory "/usr/share/zabbix/app"> |
35 |
Order deny,allow |
36 |
Deny from all |
37 |
<files *.php> |
38 |
Order deny,allow |
39 |
Deny from all |
40 |
</files> |
41 |
</Directory> |
42 |
|
43 |
<Directory "/usr/share/zabbix/include"> |
44 |
Order deny,allow |
45 |
Deny from all |
46 |
<files *.php> |
47 |
Order deny,allow |
48 |
Deny from all |
49 |
</files> |
50 |
</Directory> |
51 |
|
52 |
<Directory "/usr/share/zabbix/local"> |
53 |
Order deny,allow |
54 |
Deny from all |
55 |
<files *.php> |
56 |
Order deny,allow |
57 |
Deny from all |
58 |
</files> |
59 |
</Directory> |