Loggin Failure: "logged as ?"
Leonardo Henrique Machado
leoh at dcc.ufmg.br
Tue May 25 18:39:08 CEST 2004
Hi all,
I cannot log with a especific user in Nagios. Apache doesn't ask for a
loging/password anymore!
"logged as ?"
It used to work fine. One day, it stoped. I think that it's a problema
with Apache. How can I solve it? It's happening with 2 other friends of
mine.
Here is my config:
------- cgi.cfg ---
use_authentication=0
#default_user_name=nagiosadmin
---- .htacces ----
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
---- htpasswd ---
leoh:NVIxSzbNNopBLAHw
nagiosadmin:dtXzgKyBLAHc/.
---- apache ---
#copy/paste from nagios documentation
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios/
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios/
<DirectoryMatch /usr/lib/cgi-bin/nagios/>
Options Indexes FollowSymLinks Includes
AllowOverride AuthConfig
order deny,allow
allow from all
Options ExecCGI
</DirectoryMatch>
# Where the stylesheets (config files) reside
Alias /nagios/stylesheets /etc/nagios/stylesheets/
# Where the HTML pages live(d)
Alias /nagios /usr/share/nagios/htdocs/
<DirectoryMatch /usr/share/nagios/htdocs/>
Options Indexes FollowSymLinks Includes
AllowOverride AuthConfig
order deny,allow
allow from all
</DirectoryMatch>
--
Leonardo Henrique Machado
Último Período em Ciência da Computacao
Universidade Federal de Minas Gerais
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list