[SOLVED] Plugin Architecture installed now alias not working

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
kayasaman
Posts: 25
Joined: Sat May 31, 2008 11:11 am

[SOLVED] Plugin Architecture installed now alias not working

Post by kayasaman »

Hi,

I'm trying to install the plugin architecture on a Debian Lenny system which is actually an Alien Vault OSSIM version.

Basically the original version wasn't working for me as I couldn't install the latest plugin-arch so I figured I'd upgrade to the latest version and disregard the already installed 'debianized' version!

Everything was working up to when I copied the already pre-patched files over to the /var/www/cacti folder that I created.

Now the system keeps wanting to take images directory from: http://<IP>/images rather then http://<IP>/cacti/images

My apache2 config seems ok:

Code: Select all

Alias /cacti /var/www/cacti

<DirectoryMatch /var/www/cacti>
	Options +FollowSymLinks
	AllowOverride None
	order allow,deny
	allow from all
	<IfModule mod_php4.c>
		AddType application/x-httpd-php .php

		php_flag magic_quotes_gpc Off
		php_flag short_open_tag On
		php_flag register_globals Off
		php_flag register_argc_argv On
		php_flag track_vars On
		# this setting is necessary for some locales
		php_value mbstring.func_overload 0
		php_value include_path .

		DirectoryIndex index.php
	</IfModule>
</DirectoryMatch>
which was taken from the original Debain config but should suffice as the only thing I really need is the Alias statement!

Can anyone help out??

The log doesn't really help much:

Code: Select all

[Fri Apr 08 14:56:12 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/include, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/include, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
[Fri Apr 08 14:56:16 2011] [error] [client 172.16.0.60] File does not exist: /var/www/images, referer: http://172.16.1.135/cacti/
somehow I need the system to alias into the /cacti folder from the root /var/www folder......


Thanks :-)
kayasaman
Posts: 25
Joined: Sat May 31, 2008 11:11 am

Re: Plugin Architecture installed now alias not working?

Post by kayasaman »

Ok figured this one out.....

The include/config.php file contains a line to put the /cacti/ sub dir into which originally was set to / meaning that cacti wouldn't function properly as the alias was not pointing to where it should.

Now I just got'a figure out why the graphs aren't graphic, which I think is an issue with cron!


Already on the debug though :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest