You don't have permission to access /cacti/ on this server

Zafar Malik picture Zafar Malik · Jul 22, 2015 · Viewed 8.5k times · Source

I have installed cacti on a server and when trying to connect it via web "http://192.168.1.3/cacti/" then getting error like "You don't have permission to access /cacti/ on this server".

I search on google and try to change /etc/httpd/conf.d/cacti.conf file as per below-

default is-

# Cacti: An rrd based graphing tool
#
Alias /cacti    /usr/share/cacti

<Directory /usr/share/cacti/>
        Order Deny,Allow
        Deny from all
        Allow from localhost
</Directory>

I tried to change as-

# Cacti: An rrd based graphing tool
#
Alias /cacti    /usr/share/cacti

    <Directory /usr/share/cacti/>
            Order Deny,Allow
            #Deny from all
            Allow from all
    </Directory>

After this change and restarting httpd service not getting any error on webpage instead getting blank page with 403 forbidden error in explorer tab.

Also try to allow specific ips, but no luck. Some other suggestions also checked but not able to get solution.

I will be very thankfull for any prompt help.

Answer