authenticated at the second time

REMY Julien julien.remy at ohs.asso.fr
Fri Jul 7 16:42:58 CEST 2006


Hello,

In my log file of Apache, there is only : 

File does not exist /usr/local/apache/htdocs/favicon.ico.

>Where did you put .htaccess files? Are they all the same or are they
>different. The minimum requirement is a single .htaccess file in the
>sbin directory. If you have significantly different .htaccess files you
>may be prompted multiple times by apache to authenticate.

I put this configuration part in httpd.conf : 

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

<Directory "/usr/local/nagios/sbin">
    Options ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    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">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    Require valid-user
</Directory>




-----Message d'origine-----
De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell
Envoyé : vendredi 7 juillet 2006 16:31
À : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] authenticated at the second time



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of REMY Julien
> Sent: Friday, July 07, 2006 3:35 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] authenticated at the second time
> 
> Hello,
> 
> 
> 
> Nagios functions perfectly. All the configuration is good. I
configured
> the authentification with htpasswd.
> 
> 
> 
> When I want to connect myself to the graphic interface, it asks me to
be
> authenticated. I put the good login and the good password and it still
> requires of me to be authenticated. I put the same login and the same
> password and I can to connect myself but I must authenticate myself
twice.
> 
> 
> 
> Why ?

Check your apache error log for problems. At this point in the process
it's all Apache.

Where did you put .htaccess files? Are they all the same or are they
different. The minimum requirement is a single .htaccess file in the
sbin directory. If you have significantly different .htaccess files you
may be prompted multiple times by apache to authenticate.

What are the contents of the .htaccess file? Verify it's identical or
mostly identical to the documentation.

--
Marc

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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