Page 1 of 1

[Nagios-devel] RE: More Feature request...

Posted: Mon Sep 30, 2002 12:23 am
by Guest
OK, I solved the logout-button problem with one of the ugliest solutions =
ever! But it works...

Here's the steps:

1) enable Apache's send-asis HTTP file feature by adding the following =
line to the config-file:
AddHandler send-as-is asis

2) Create a file, logout.asis in nagios/share with the content:
Status: 401 Authorization Required
WWW-Authenticate: Basic realm=3D"Nagios.Access"
Content-type: text/html

Logout
OK


3) Add a link to the asis-file in side.html

4) Click the link...

You should get an 'Authorazation failed'. Click retry and enter the new =
user you want to log in as and ignore the following 'authorization =
failed' responses. After that you should get OK in the left frame. =
Left-click in that frame and choose 'back', the menu returns and you are =
logged in as another user!!

Simple or what??


:-)

/FredrikW =20






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]