FreeBSD Forbidden /nagios


#1

Hi all.

I tried many ways for fix this error but i can’t yet.
My system is FreeBSD 8.0 , Apache2.2, Nagios and Php 5.5

Httpd.conf.:

[code]ScriptAlias /nagios/cgi-bin /usr/local/www/nagios/cgi-bin
<Directory /usr/local/www/nagios/cgi-bin>
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all

Alias /nagios /usr/local/www/nagios
<Directory /usr/local/www/nagios>
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/etc/nagios/htpasswd.users
require valid-user

[/code]

The nagio’s command said me , nagios ok!

nagios -v /usr/local/etc/nagios/nagios.cfg Total Errors: 0

But, when i try access nagios from local network the message : 403 Forbidden appear.

So, my apache.log show this.:

user admin not found: /nagios [Thu Jul 29 10:09:32 2010] [error] [client 10.1.1.1] user nagiosadmin: authentication failure for "/nagios": Password Mismatch [Thu Jul 29 10:09:40 2010] [error] [client 10.1.1.1] user nagiosadmin: authentication failure for "/nagios": Password Mismatch [Thu Jul 29 10:09:51 2010] [error] [client 10.1.1.1] Directory index forbidden by Options directive: /usr/local/www/nagios/ [Thu Jul 29 10:10:19 2010] [error] [client 10.1.1.1] Directory index forbidden by Options directive: /usr/local/www/nagios/ [Thu Jul 29 10:10:28 2010] [error] [client 10.1.1.1] Directory index forbidden by Options directive: /usr/local/www/nagios/ [Thu Jul 29 10:12:47 2010] [error] [client 10.1.1.1] Directory index forbidden by Options directive: /usr/local/www/nagios/ [Thu Jul 29 10:13:27 2010] [error] [client 10.1.1.1] Directory index forbidden by Options directive: /usr/local/www/nagios/

If you are need more informations or have any suggestions, call me.