mcveigh
Diamond Member
I'm installing nagios on a redhat 8.0 box (apache2.0), I've got it working but when setting up the permissions on the web part of it I am blocking myself out.
I am trying to get into 127.0.0.1/nagios
I created .htaccess in /usr/local/nagios/sbin and /usr/local/nagios/share (same file in both)
----.htaccess----
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
----------------------
I created my htpasswd.users file with this command
htpasswd -c /usr/local/nagios/etc/htpasswd.users root
and I gave it root's passwd, not a different one.
I also added myself to the file as a user.
now authentication will not work.
I am thinking the password hash is incorrect or something else weird.
any ideas???????
:frown:
I am trying to get into 127.0.0.1/nagios
I created .htaccess in /usr/local/nagios/sbin and /usr/local/nagios/share (same file in both)
----.htaccess----
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
----------------------
I created my htpasswd.users file with this command
htpasswd -c /usr/local/nagios/etc/htpasswd.users root
and I gave it root's passwd, not a different one.
I also added myself to the file as a user.
now authentication will not work.
I am thinking the password hash is incorrect or something else weird.
any ideas???????
:frown: