• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

need help with apache .htacces files for nagios!

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:
 
Back
Top