File zabbix-apache2x.conf of Package zabbix

# please read how to enable zabbix frontend in
# /usr/share/doc/packages/zabbix-phpfrontend/README.SUSE
<IfDefine ZABBIX>
  Alias /zabbix "/usr/share/zabbix/"

  <Directory "/usr/share/zabbix/">
    Options Indexes MultiViews
    AllowOverride None

    <IfModule mod_php5.c>
        php_value max_execution_time 300
        php_value memory_limit 128M
        php_value post_max_size 16M
        php_value upload_max_filesize 2M
        php_value max_input_time 300
        php_value always_populate_raw_post_data -1
        # php_value date.timezone Europe/Riga
    </IfModule>

    <IfModule mod_authz_core.c>
      # Apache 2.4
      Require all granted
      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>

    <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
    </IfModule>
  </Directory>

  <DirectoryMatch "/usr/share/zabbix/(app/|conf/|include/|local/)>
    <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>