File apache2-zabbix.conf of Package zabbix
# please read how to enable zabbix frontend in
# /usr/share/doc/packages/zabbix24-phpfrontend/README.SUSE
<IfDefine ZABBIX>
Alias /zabbix "/usr/share/zabbix/"
<Directory "/usr/share/zabbix/">
Options Indexes MultiViews
AllowOverride None
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Allow from 127.0.0.1
Allow from 192.168.0.0/16
Allow from 10.0.0.0/8
Allow from ::1
</IfModule>
</Directory>
<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>