Tried to look at similar questions, but could not find solution.
Nagios web interface does not prompt for login credentials, also displays message"..you do not have permission to view information for any of the services you requested..."
Installations Nagios 3.5, Apache 2.4, Red Hat 7.4
Confirmed the below are set:
htpasswd.users file permissions- nagios:nagioshtpasswd /usr/local/nagios/etc/htpasswd.users nagiosadmin
==cgi.cfg config file==
Disabled SELINUXuse_authentication=1
authorized_for_system_information=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
==Apache nagios.conf==sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
setenforce 0
Any idea what may be missing or if it may be Apache config related?ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Require all granted
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
Similar as the above
Thanks