Nagvis Webpage Not Found


Hai guy,

i’m using ubuntu 10.10 and Icinga

i download nagvis 1.5.10 stable and i installed it

i choose path for my icinga /usr/local/icinga/
and i choose nagvis base path /usr/local/icinga/nagvis/

after finish install nagvis i go to localhost/nagvis/config.php
the page show this:
Not Found
The requested URL /nagvis/config.php was not found on this server.
Apache/2.2.16 (Ubuntu) Server at localhost Port 80

i check apache log

i got this error
[Wed Nov 09 17:05:54 2011] [error] [client] File does not exist: /var/www/nagvis
[Wed Nov 09 17:05:55 2011] [error] [client] File does not exist: /var/www/nagvis
[Wed Nov 09 17:05:56 2011] [error] [client] File does not exist: /var/www/nagvis

this is my nagvis.conf

[code]# NagVis Apache2 sample configuration file

Alias /nagvis “/usr/local/icinga/nagvis/share”

<Directory “/usr/local/icinga/nagvis/share”>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

To enable Nagios basic auth on NagVis use the following options

Just uncomment it. Maybe you need to adjust the path to the

Auth user file.

If you use the NagVis internal auth mechanism based on the web

for you won’t need this.

#AuthName “NagVis Access”
#AuthType Basic
#AuthUserFile /usr/local/icinga/etc/htpasswd.users
#Require valid-user

With installed and enabled mod_rewrite there are several redirections

available to fix deprecated and/or wrong urls. None of those rules is

mandatory to get NagVis working.

RewriteEngine On RewriteBase /nagvis
# Use mod_rewrite for old url redirection even if there are php files which
# redirect the queries itselfs. In some cases the mod_rewrite redirect
# is better than the php redirect.
RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$
RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 [R=301,L]
RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$
RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L]

# Redirect old regular map links
RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js
RewriteCond %{QUERY_STRING} map=(.*)
RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L]

# Redirect old wui map links
RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui
RewriteCond %{QUERY_STRING} map=(.*)
RewriteRule ^(.*)$ /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L]

# Redirect old rotation calls
RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js
RewriteCond %{QUERY_STRING} !mod
RewriteCond %{QUERY_STRING} rotation=(.*)
RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L]

i am new in linux O/S

i already post this in another forum but they not reply so i hope u guy here can help me