Ad Widget

Collapse

Access Forbidden on frontend

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sam909
    Junior Member
    • Jan 2013
    • 3

    #1

    Access Forbidden on frontend

    This morning I downloaded the Zabbix ovf appliance and created a new vm in virtualbox. It boots the vm correctly and I can login to it with root. It tells me my ip but when i go to the ip from a local network machine I get the following error:

    Code:
    Access forbidden!
    
    You don't have permission to access the requested object. It is either read-protected or not readable by the server.
    
    If you think this is a server error, please contact the webmaster.
    
    Error 403
    
    172.160.100.93
    Thu Jan 31 13:47:51 2013
    Apache/2.2.22 (Linux/SUSE)
    What is going on? I would really like to try Zabbix.
  • legends71
    Junior Member
    • Jan 2013
    • 6

    #2
    Hi,

    Try this.

    3. Frontend access

    Access to frontend by default is allowed from:
    127.0.0.1
    192.168.0.0/16
    10.0.0.0/8
    ::1

    Root (/) is redirected to /zabbix on the webserver, thus frontend can be accessed both as http://<host> and http://<host>/zabbix.

    This can be customised in /etc/apache2/conf.d/zabbix.conf. You have to restart webserver after modifying this file. To do so, log in using SSH as root user and execute:
    service apache2 restart


    Source: https://www.zabbix.com/documentation...nual/appliance

    Good luck.

    Comment

    • sam909
      Junior Member
      • Jan 2013
      • 3

      #3
      I've tried everything I could find in the documentation. There's something else going on. Here is my zabbix.conf

      <IfDefine ZABBIX>
      Alias /zabbix "/usr/share/zabbix/"
      RedirectMatch ^/$ /zabbix
      <Directory "/usr/share/zabbix/">
      Options Indexes MultiViews
      AllowOverride None
      Order allow,deny
      Allow from any
      Allow from 127.0.0.1
      Allow from 172.16.0.0/24
      Allow from 192.168.0.0/16
      Allow from 10.0.0.0/8
      Allow from ::1
      Allow from fe80::/10
      </Directory>
      </IfDefine>

      Comment

      • sam909
        Junior Member
        • Jan 2013
        • 3

        #4
        I figured out the problem. In the list in zabbix.conf is 172.16.0.0/16, which I thought covered access from my network. But my network is 172.160.0.0/16. Had to change that, restart apache and now I'm in.

        Comment

        Working...