When I try to browsw localhost/cacti it says:
Forbidden
You don't have permission to access /cacti/ on this server
I'm a newbie at this so am not sure if it's referring to file permissions or MySQL permissions.
Any help greatly appreciated.
Thanks in advance.
localhost/cacti returns Forbidden
Moderators: Developers, Moderators
Sounds like file permissions to me.
Make sure the user your web server runs as has read access to cacti's directory. Assuming your web server user is apache and cacti is installed at /var/www/html/cacti, you could execute the following command:
You also need to make sure the user 'cmd.php' runs as has write access to cacti's 'rra/' and 'log/' directories, but we'll take it one step at a time...
-Ian
Make sure the user your web server runs as has read access to cacti's directory. Assuming your web server user is apache and cacti is installed at /var/www/html/cacti, you could execute the following command:
Code: Select all
chown -R apache /var/www/html/cacti
-Ian
Hi !
I have 2 PC with the same configuration.
The first didn't forbid access, but the second did.
A solution (I can't explain) : change the directory name (cacti -> cacti_stats for example).
I use MadrakeLinux and installed Cacti's RPM. Maybe it has changed my Apache configuration :-/
I have 2 PC with the same configuration.
The first didn't forbid access, but the second did.
A solution (I can't explain) : change the directory name (cacti -> cacti_stats for example).
I use MadrakeLinux and installed Cacti's RPM. Maybe it has changed my Apache configuration :-/
Mort aux cons ! ARg
Depending on your webserver configuration you may get a permission denied/forbidden error if you hit a directory based url without a trailing slash...
ie:
http://host.net/cacti
rather than:
http://host.net/cacti/
or:
http://host.net/cacti/index.php
ie:
http://host.net/cacti
rather than:
http://host.net/cacti/
or:
http://host.net/cacti/index.php
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
Who is online
Users browsing this forum: No registered users and 2 guests