2016-10-28 15:49:42 +02:00
|
|
|
<VirtualHost *:80>
|
|
|
|
DocumentRoot /usr/share/zabbix/
|
|
|
|
ServerName zabbix
|
|
|
|
DirectoryIndex index.php
|
|
|
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
|
|
|
AddType application/x-httpd-php-source .phps
|
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix">
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
2016-10-28 15:49:42 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/conf">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2016-10-28 15:49:42 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/app">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2016-10-28 15:49:42 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/include">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2016-10-28 15:49:42 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/local">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
|
|
|
</VirtualHost>
|