A Login window appeard and I inputed a correct password for the login.
But it says athentication fails.
There is no problem in htpasswd and htaccess configuration.
This is my .httpd.conf file.
Alias / /usr/local/nagios/share/
<Directory “/usr/local/nagios/share”>
Options FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
so what? in which context is the apache process running? i doubt it runs in the nagios directory… so try giving it an absolute path to the .htpasswd file.