Hello,
I'm not sure if this is a Cacti issue, a PHP issue, or an Apache issue.
Our Cacti server has to network interfaces, one on network A and one on network B.
When users on network A connect to http://<address_A>/cacti the users are directed to http://<address_B>/cacti with a '301 Moved Permanently' message.
Users on A can reach the default Apache page when they point to http://<address_A> without being redirected.
I would like users on eithe rnetwork to be able to reach Cacti so any help on how to fix this would be greatly appreciated.
Thank you in advance,
-SB
Only able to access Cacti via one interface
Moderators: Developers, Moderators
This is a Apache Issue.
You must tell Apache on which addresse's it should listen to.
The Rest of your config wishes is possible with the Apache VirtualHosts and Directives.
German Website for Information:
http://httpd.apache.org/docs/2.0/mod/core.html
You must tell Apache on which addresse's it should listen to.
The Rest of your config wishes is possible with the Apache VirtualHosts and Directives.
German Website for Information:
http://httpd.apache.org/docs/2.0/mod/core.html
how is httpd.conf configured?
If apache has Cacti configured as its' own directory, it is possible that an Allow/Deny rule is causing an issue even though the root dir is accessible from both
If the other int is not in the allow, then all traffic coming into that interface will not be able to see cacti.
If apache has Cacti configured as its' own directory, it is possible that an Allow/Deny rule is causing an issue even though the root dir is accessible from both
Code: Select all
.../var/www/html
Allow from All...
</Directory>
Alias /cacti/ /usr/local/cacti/
<Directory "/usr/local/cacti/">
Options FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from 127.0.0.1
Allow from 12.89.0.0/24
Allow from 128.114.33.0/24
</Directory>
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Who is online
Users browsing this forum: No registered users and 1 guest