我对opensuse很新,但有其他发行版的经验,比如arch。
我想让zabbix运行但是我遇到了apache的问题而不让我访问/ zabbix子目录。每当我尝试访问它时,我都会得到403.
这是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_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/(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>
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 date.timezone Europe/Madrid
任何帮助都会很好:)