Did you put the follow lines at your httpd file??<br><br><br>Alias /nagios "/usr/local/nagios/share"<br><div style="margin-left: 40px;"> AuthType Basic<br></div><div style="margin-left: 40px;"> AuthUserFile /usr/local/nagios/etc/htpasswd.users
<br></div> Require valid-user<br></Directory><br><br><br><br><div><span class="gmail_quote">2006/9/12, Rob Ristroph <<a href="mailto:rgr@sdf.lonestar.org">rgr@sdf.lonestar.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>This is not the problem, I already had the htpasswd user be a valid<br>contact, and the default_user_name was already commented out.<br><br>I am not sure what it is, except that I suspect it is something in my<br>apache configs.
<br><br>--Rob<br><br>>>>>> "Rodrigo" == Rodrigo Maceno <<a href="mailto:rodrigo.maceno@gmail.com">rodrigo.maceno@gmail.com</a>> writes:<br>Rodrigo><br>Rodrigo> Ok, I had this same problem some time ago...
<br>Rodrigo> First, you must to retire the default_user_name at the cgi.cfg archive. You<br>Rodrigo> must define a valid contact at the minimal.cfg (or another archive that you<br>Rodrigo> have your contacts). This contact must be in htpasswd archive...
<br>Rodrigo><br>Rodrigo> Try to do it...<br>Rodrigo><br>Rodrigo> []'s<br>Rodrigo><br>Rodrigo> 2006/9/8, Marc Powell <<a href="mailto:marc@ena.com">marc@ena.com</a>>:<br>>><br>>><br>>>
<br>>> > -----Original Message-----<br>>> > From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-
</a><br>>> > <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Rob Ristroph<br>>> > Sent: Thursday, September 07, 2006 8:11 PM<br>>> > To: Nagios Users Mailinglist
<br>>> > Subject: [Nagios-users] "Logged in as ?" -- http auth not working ?<br>>> ><br>>> ><br>>> > Hi,<br>>> > When I visit my nagios from the web, it asks me for the
<br>>> > user/pass and I log in successfully, except when I do "show<br>>> > host details" it says:<br>>> ><br>>> > "It appears as though you do not have permission to view information
<br>>> > for any of the hosts you requested...<br>>> ><br>>> > If you believe this is an error, check the HTTP server authentication<br>>> > requirements for accessing this CGI and check the authorization
<br>>> > options in your CGI configuration file."<br>>> ><br>>> > It also says "Logged in as ?" near the top of the page.<br>>><br>>><br>>> ><br>>> > It prints to standard out a correct html page that says
<br>>> > "Logged in as nagiosadmin".<br>>> ><br>>> > I can't find any useful information in the apache or nagios<br>>> > logs.<br>>> ><br>>> > Any suggestions on how this can be debugged ? I realize that
<br>>><br>>> Make sure that you have the correct htaccess information for the _sbin_<br>>> directory, not (just) the share directory. Depending on how you<br>>> configured it it's either in httpd.conf
or an .htaccess file in<br>>> ~nagios/sbin. It's the configuration for the sbin directory that's<br>>> important.<br>>><br>>> <a href="http://nagios.sourceforge.net/docs/2_0/installweb.html">http://nagios.sourceforge.net/docs/2_0/installweb.html
</a><br>>><br>>> If you made the changes to httpd.conf, be sure you restarted apache<br>>> after doing so.<br>>><br>>> --<br>>> Marc<br>>><br>>> -------------------------------------------------------------------------
<br>>> Using Tomcat but need to do more? Need to support web services, security?<br>>> Get stuff done quickly with pre-integrated technology to make your job<br>>> easier<br>>> Download IBM WebSphere Application Server
v.1.0.1 based on Apache Geronimo<br>>> <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
</a><br>>> _______________________________________________<br>>> Nagios-users mailing list<br>>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>>> ::: Please include Nagios version, plugin version (-v) and OS when<br>>> reporting any issue.<br>>> ::: Messages without supporting info will risk being sent to /dev/null
<br>>><br>Rodrigo> -------------------------------------------------------------------------<br>Rodrigo> Using Tomcat but need to do more? Need to support web services, security?<br>Rodrigo> Get stuff done quickly with pre-integrated technology to make your job easier
<br>Rodrigo> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br>Rodrigo> <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________">
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________</a><br>Rodrigo> Nagios-users mailing list<br>Rodrigo> <a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br>Rodrigo> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>Rodrigo> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>Rodrigo> ::: Messages without supporting info will risk being sent to /dev/null<br><br>--<br><a href="http://rgr.freeshell.org/">http://rgr.freeshell.org/</a><br><br>-------------------------------------------------------------------------
<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>_______________________________________________
<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>