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

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
charlieb
Posts: 3
Joined: Tue Dec 01, 2009 7:57 am
Location: UK

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

Post by charlieb »

Hi All,

This is my first time to install and try Cacti. I followed the installation from the Cacti Manual 0.8.7 from docs.cacti.net. When I tried to access Cacti http://<ip_address_of_server>/cacti it displays the following error -

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


I'm using Centos 5 (2.6.18-164.el5) and cacti 0.8.7e-1.el5.


Please help.

Many thanks.
Charlie
charlieb
Posts: 3
Joined: Tue Dec 01, 2009 7:57 am
Location: UK

Post by charlieb »

Hi All,

I finally resolved the problem.



1) Because I'm using Centos, /etc/php.ini has the following configuration ...

extension_dir = "/usr/lib/php/modules"

2) I've edited the file /etc/httpd/conf.d/cacti.conf
to allow my PC's IP address

Alias /cacti /usr/share/cacti

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


3) Restart httpd
service httpd stop
service httpd start




Best Regards,
Charlie
datnq3
Posts: 2
Joined: Fri Jun 02, 2017 5:09 am

Re:

Post by datnq3 »

charlieb wrote:Hi All,

I finally resolved the problem.



1) Because I'm using Centos, /etc/php.ini has the following configuration ...

extension_dir = "/usr/lib/php/modules"

2) I've edited the file /etc/httpd/conf.d/cacti.conf
to allow my PC's IP address

Alias /cacti /usr/share/cacti

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


3) Restart httpd
service httpd stop
service httpd start




Best Regards,
Charlie

Thank you :)
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests