I've the follow config to apache 2:<br><br><br><Directory "/usr/local/nagios/sbin"><br> Options ExecCGI<br> AllowOverride None<br> Order allow,deny<br> Allow from all<br> AuthName "Nagios Access"<br>
AuthType Basic<br> AuthUserFile /usr/local/nagios/etc/htpasswd<br> Require valid-user<br></Directory><br><br>Alias /nagios /usr/local/nagios/share<br><br><Directory "/usr/local/nagios/share"><br>
Options None<br> AllowOverride None<br> Order allow,deny<br> Allow from all<br> AuthName "Nagios Access"<br> AuthType Basic<br> AuthUserFile /usr/local/nagios/etc/htpasswd<br>
Require valid-user<br></Directory><br><br>but in my web browser I get a error if I open a nagios function:<br><br>by example:<br><br><img src="http://192.168.2.2/nagios/images/greendot.gif" name="status-dot" width="13" height="14">
<a href="http://192.168.2.2/nagios/cgi-bin/status.cgi?host=all" target="main" onmouseover="switchdot('status-dot',1)" onmouseout="switchdot('status-dot',0)" class="NavBarItem">Service Detail</a><br><br>
The requested URL /nagios/cgi-bin/status.cgi was not found on this server.<br><br><img src="http://192.168.2.2/nagios/images/greendot.gif" name="trends-dot" width="13" height="14">
<a href="http://192.168.2.2/nagios/cgi-bin/trends.cgi" target="main" onmouseover="switchdot('trends-dot',1)" onmouseout="switchdot('trends-dot',0)" class="NavBarItem">Trends</a><br><br>The requested URL /nagios/cgi-bin/trends.cgi was not found on this server.<br>
<br>What's correct file configuration to nagios 3?<br clear="all"><br><br>root@darkstar:~# ls /usr/local/nagios/<br>bin/ nagios-3.0.6/ nagios-plugins-1.4.13.tar.gz* var/<br>etc/ nagios-3.0.6.tar.gz* sbin/<br>
libexec/ nagios-plugins-1.4.13/ share/<br><br><br>-- <br>-t-<br>