Cacti CentOS 3 – Apache Web Server Configuration
Apache Web Server Configuration
The next step in the installation is to configure Apache for the server. To configure Apache perform the following steps in this article.
Configuring Apache Access
When Cacti installs it configures an Apache configuration file which allows access only to the localhost (127.0.0.1). To configure Apache to allow access from more than just the localhost perform the following steps :-
- Edit the file /etc/httpd/conf.d/cacti.conf and add the following line below the allow from 127.0.0.1 to allow another host access :-
allow from <IP Address of your additional host>
E.G. allow from 192.168.0.1
- To allow access from an entire subnet to cacti add the following line below the allow from 127.0.0.1line :-
allow from <IP Subnet you wish to allow access from>
E.G. allow from 192.168.0
- Save and Exit the file
- To apply the changes to Apache execute the following command in the command line :-
service httpd restart