Marco,
 
  I tried this and it does work for me (Firefox 7.0.1 & IE 9).
 
  I also tried a suggestion that I found online where you create a new directory <nagios path>/share/logout, copy the .htaccess file to that directory, add a blank htpassword.users file, a dummy index.html file, and I modified the nagios.conf file (Apache2 config) to look at these files.  Both worked for me.

 
Florida's Capital County
Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
 
>>> On 10/21/2011 at 5:03 AM, "Marco Borsani" <[email protected]> wrote:
I tried this, but does not go in the right way



-----Messaggio originale-----
Da: frank [mailto:[email protected]]
Inviato: venerdì 21 ottobre 2011 05:06
A: Nagios Users List
Oggetto: Re: [Nagios-users] Nagios Logout?

You could also try changing your URL manually to:

http://newusername@hostname/nagios/

A new http-auth prompt should pop up.

-f


On Fri, 21 Oct 2011, Anthony Hogan wrote:

> Date: Fri, 21 Oct 2011 11:04:14 +1100
> From: Anthony Hogan <[email protected]>
> Reply-To: Nagios Users List <[email protected]>
> To: Nagios Users List <[email protected]>
> Subject: Re: [Nagios-users] Nagios Logout?
>
> Clearing your browser's login sessions (I believe some browsers allow
this).
>
> Alternatively, have a script within the nagios tree send an HTTP 401
> code with the same auth message/description, even though you're
> sending the correct password. You'll get prompted for a password again..
just click cancel.. then I think browser should have forgotten.
>
> When using HTTP basic authentication, you're not actually "logging in"
> as such, your browser is just automatically sending the username and
> password to the 401 prompts within the folder/tree you've authenticated
on.
>
> HTTP is a stateless protocol (which is why cookies etc. were bolted onto
the top of it).
>
> On Fri, Oct 21, 2011 at 10:23, Jon Adcock <[email protected]>
wrote:
>         Once I am logged into a particular Nagios account (Apache2
account) and viewing
>       the Nagios webpage, is there anyway to logout/log back into a
different account,
>       short of closing the browser and re-opening it?
>
>
>


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
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
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to