You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
868 B
39 lines
868 B
#
|
|
# Zabbix monitoring system php web frontend
|
|
#
|
|
|
|
Alias /zabbix /usr/share/zabbix
|
|
|
|
<Directory "/usr/share/zabbix">
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
<IfModule mod_authz_core.c>
|
|
# Apache 2.4
|
|
Require ip 127.0.0.1
|
|
</IfModule>
|
|
|
|
<IfModule !mod_authz_core.c>
|
|
# Apache 2.2
|
|
Order allow,deny
|
|
Allow from 127.0.0.1
|
|
</IfModule>
|
|
#php_admin_value post_max_size 16M
|
|
#php_admin_value max_execution_time 300
|
|
#php_admin_value max_input_time 300
|
|
#php_admin_value date.timezone "Europe/Paris"
|
|
</Directory>
|
|
|
|
<Directory ~ "^/usr/share/zabbix/(conf|api|include)/">
|
|
<files *.php>
|
|
<IfModule mod_authz_core.c>
|
|
# Apache 2.4
|
|
Require all denied
|
|
</IfModule>
|
|
|
|
<IfModule !mod_authz_core.c>
|
|
Order deny,allow
|
|
Deny from all
|
|
</IfModule>
|
|
</files>
|
|
</Directory>
|
|
|
|
|