Hi Guys,

 

I have been running apache on redhat and fedora core for the last couple of
years without any problems and I have recently inherited a box running suse
linux 9.3 running apache and currently hosting 3 websites, namely MRTG,
Mailman, and an inhouse site. I recently installed cacti and tried to set up
the webserver for the cacti site but things have gone the opposite
direction, my inhouse website is no longer running and the cacti website as
also failed to run. Below are the changes I did and the error message I am
getting from the logs. The MRTG site is running well, your help is
appreciated in advance

 

Regards

 

Peter

 

I added this in httpd.conf

 

# allow access to CACTI DocumentRoot 

<Directory /var/www/cacti>

    AllowOverride All

    Options None 

    <IfModule mod_access.c>

    Order allow,deny

    Allow from all

    </IfModule>

</Directory>

 

I added this in /etc/apache2/vhost.d/vhosts.conf

 

#

# CACTI Web Interface

#

<VirtualHost 10.10.10.1:80>

    ServerAdmin [EMAIL PROTECTED]

    ServerName www.cacti.test.com

    ServerAlias cacti.cacti.com

    DocumentRoot /var/www/cacti

    ErrorLog /var/log/apache2/cacti.test.com/error_log

    CustomLog /var/log/apache2/cacti.test.com/access_log common

</VirtualHost>

#

 

And finally configured /etc/apache2/conf.d/cacti.conf as below

 

gate:/etc/apache2/conf.d # cat cacti.conf

<Directory /var/www/cacti/>

   order allow,deny

   allow from all

</Directory>

 

 

When I try to access the web page it says page cannot be displayed these are
the logs below

 

tail -f /var/log/apache2/cacti.test.com/error_log 

[Thu Feb 15 18:21:16 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/cacti/favicon.ico

[Thu Feb 15 19:33:48 2007] [error] [client 172.16.0.45] File does not exist:
/ var/www/cacti/favicon.ico

[Thu Feb 15 19:34:00 2007] [error] [client 172.16.0.45] File does not exist:
/ var/www/cacti/favicon.ico

 

Logs for my in house website (note I did not make any changes to this site)

 

tail -f /var/log/apache2/crm.test.com/error_log

[Thu Feb 15 17:16:41 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/crm/favicon.ico 

[Thu Feb 15 17:17:58 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/crm/favicon.ico

[Thu Feb 15 18:25:25 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/crm/favicon.ico

[Thu Feb 15 18:30:08 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/crm/favicon.ico

[Thu Feb 15 18:55:35 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/crm/favicon.ico

[Thu Feb 15 19:07:13 2007] [error] [client 172.16.0.45] File does not exist:
/var/www/crm/favicon.ico

 

 

 

host:/var/www # ls -lah 

drwxr-xr-x  11 root root 1.8K Feb 16 11:54 cacti

drwxr-xr-x  48 root 1054 2.0K Sep  6 13:39 crm

drwxr-xr-x   7 root 1054 1.1K Nov 14  2005 mailman

drwxr-xr-x   3 root root   72 Sep  1  2005 mrtg

 

 

Reply via email to