Only able to access Cacti via one interface

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

Moderators: Developers, Moderators

Post Reply
sbecker
Posts: 3
Joined: Fri Jul 15, 2005 11:54 pm

Only able to access Cacti via one interface

Post by sbecker »

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
aubergin3
Posts: 3
Joined: Tue Nov 15, 2005 10:39 am

Post by aubergin3 »

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
sbecker
Posts: 3
Joined: Fri Jul 15, 2005 11:54 pm

Post by sbecker »

But Apache does answer on both interfaces when I just go to the root document just not when I go to /cacti.
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

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

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>


If the other int is not in the allow, then all traffic coming into that interface will not be able to see cacti.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests