web interface error - configure Nagios first time
Posted: Wed Feb 15, 2012 3:29 pm
Hi,
I'm trying to configure Nagios in Solaris server. Installation hurdles are passed, but facing issues with web interface. I'm getting the below error when i try to open http://localhost/nagios and http://localhost/nagios/cgi-bin
Error In Firefox -- You don't have permission to access /nagios/cgi-bin/ on this server & You don't have permission to access /nagios/ on this server
In IE if i use http://192.168.1.1/nagios/ i'm getting the page but only "Home" & "Documentation" buttons are visible at the left side pane and some garbled text appears in the page. If i use http://192.168.1.1/nagios/cgi-bin/ i'm getting the error "This website requires you to log in"
My web configuration file for nagios looks like below. I've created passwd using htpasswd command, still i'm getting permission issue.
---------------------------------------------------------------------------------
ScriptAlias /nagios/cgi-bin "/opt/local/nagios-3.3.1/sbin"
<Directory "/opt/local/nagios-3.3.1/sbin">
# SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.php index.html
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /opt/local/nagios-3.3.1/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/opt/local/nagios-3.3.1/share"
<Directory "/opt/local/nagios-3.3.1/share">
# SSLRequireSSL
Options FollowSymLinks
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /opt/local/nagios-3.3.1/etc/htpasswd.users
Require valid-user
</Directory>
-----------------------------------------------------------------------------------
Need your expertise to resolve the issue. I'll post if any of the other config information is required.
Many thanks in advance.
I'm trying to configure Nagios in Solaris server. Installation hurdles are passed, but facing issues with web interface. I'm getting the below error when i try to open http://localhost/nagios and http://localhost/nagios/cgi-bin
Error In Firefox -- You don't have permission to access /nagios/cgi-bin/ on this server & You don't have permission to access /nagios/ on this server
In IE if i use http://192.168.1.1/nagios/ i'm getting the page but only "Home" & "Documentation" buttons are visible at the left side pane and some garbled text appears in the page. If i use http://192.168.1.1/nagios/cgi-bin/ i'm getting the error "This website requires you to log in"
My web configuration file for nagios looks like below. I've created passwd using htpasswd command, still i'm getting permission issue.
---------------------------------------------------------------------------------
ScriptAlias /nagios/cgi-bin "/opt/local/nagios-3.3.1/sbin"
<Directory "/opt/local/nagios-3.3.1/sbin">
# SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.php index.html
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /opt/local/nagios-3.3.1/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/opt/local/nagios-3.3.1/share"
<Directory "/opt/local/nagios-3.3.1/share">
# SSLRequireSSL
Options FollowSymLinks
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /opt/local/nagios-3.3.1/etc/htpasswd.users
Require valid-user
</Directory>
-----------------------------------------------------------------------------------
Need your expertise to resolve the issue. I'll post if any of the other config information is required.
Many thanks in advance.