"Logged in as ?" -- http auth not working ?

Rob Ristroph rgr at sdf.lonestar.org
Fri Sep 8 03:11:18 CEST 2006


Hi,
        When I visit my nagios from the web, it asks me for the
        user/pass and I log in successfully, except when I do "show
        host details" it says:

"It appears as though you do not have permission to view information
for any of the hosts you requested...

If you believe this is an error, check the HTTP server authentication
requirements for accessing this CGI and check the authorization
options in your CGI configuration file."

        It also says "Logged in as ?" near the top of the page.

        However, if I run these commands as root:

export REMOTE_USER="nagiosadmin"
export REQUEST_METHOD="GET"
export QUERY_STRING="hostgroup=all"
./status.cgi

        It prints to standard out a correct html page that says
        "Logged in as nagiosadmin".

        I can't find any useful information in the apache or nagios
        logs.

        Any suggestions on how this can be debugged ?  I realize that
        it may be more of an apache problem than a nagios problem, but
        I am desparate for any suggestions and willing to try
        anything.

--Rob

-- 
http://rgr.freeshell.org/

-------------------------------------------------------------------------
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