SHA256
1
0
forked from pool/zabbix
zabbix/apache2-zabbix.conf

20 lines
506 B
Plaintext

# please read how to enable zabbix frontend and SSL encryption in
# /usr/share/doc/packages/zabbix-phpfrontend/README.SUSE
<IfDefine ZABBIX>
Alias /zabbix "/usr/share/zabbix/"
<DirectoryMatch "/usr/share/zabbix/(conf/|include/)>
<IfModule mod_authz_core.c>
# Apache 2.4
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</DirectoryMatch>
</IfDefine>
<IfDefine !ZABBIX>
Redirect 403 /zabbix
</IfDefine>