<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2723.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm running Suse 7.0</FONT></DIV>
<DIV><FONT face=Arial size=2>My httpd.conf is set up as follows</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ScriptAlias /nagios/cgi-bin/
/usr/local/nagios/sbin/<BR><Directory
"/usr/local/nagios/sbin/"><BR> AllowOverride
AuthConfig<BR> Options ExecCGI<BR> Order
allow,deny<BR> Allow from
all<BR></Directory></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Alias /nagios/
/usr/local/nagios/share/<BR><Directory
"/usr/local/nagios/share"><BR> Options
None<BR> AllowOverride AuthConfig<BR> Order
allow,deny<BR> Allow from
all<BR></Directory><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>my .htaccess in my /usr/local/nagios/share
is</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>AuthName "Nagios Access"<BR>AuthType
Basic<BR>AuthUserFile /usr/local/nagios/etc/nagios.pwd<BR>require
valid-user</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My password file seems to be reading right, as when
i go to <A
href="http://mydomain.com/nagios/index.html">http://mydomain.com/nagios/index.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2>it prompts me for password, and I can successfully
authenticate. However, in the Tactical Monitoring Overview (in the upper
left grey box) it shows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2> </DIV></FONT>
<DIV>Logged in as <I>?</I></DIV>
<DIV><EM></EM> </DIV>
<DIV>My cgi.cfg has</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>use_authentication=1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And all of the authorized_for_xxxxx are set to the
appropriate user.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am seeing nothing awry in neither my access_log
nor my error_log.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am running apache 1.3.27 and Nagios 1.0 with
Nagios Plugins 1.3.0</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My Nagios dir structure looks like this:
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>drwxrwxr-x 2 nagios
nagiocmd 4.0k Mar 26 08:57 bin<BR>drwxrwxr-x
2 nagios nagiocmd 4.0k Mar 27 12:49
etc<BR>drwx------ 2 nagios
nagiocmd 4.0k Mar 27 12:42
libexec<BR>drwxrwxr-x 2 nagios
nagiocmd 4.0k Mar 26 09:13
sbin<BR>drwxrwxr-x 8 nagios
nagiocmd 4.0k Mar 27 12:49
share<BR>drwxrwxr-x 4 nagios
nagiocmd 4.0k Mar 27 12:51 var<BR></DIV>
<DIV></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Where nagiocmd is a group which has both the nagios
user and the user my apache runs as.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My Nagios Share dir:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-rwxr-xr-x 1 nagios
nagiocmd 105 Mar 26 11:08
.htaccess<BR>drwxrwxr-x 2 nagios
nagiocmd 4.0k Mar 26 08:57
contexthelp<BR>drwxrwxr-x 3 nagios
nagiocmd 4.0k Mar 26 08:57
docs<BR>drwxrwxr-x 4 nagios
nagiocmd 4.0k Mar 26 09:10
images<BR>-rw-rw-r-- 1 nagios
nagiocmd 658 Mar 26 08:57
index.html<BR>-rw-rw-r-- 1 nagios
nagiocmd 2.3k Mar 26 08:57
main.html<BR>drwxrwxr-x 2 nagios
nagiocmd 4.0k Mar 26 08:57
media<BR>-rw-rw-r-- 1 nagios
nagiocmd 26 Mar 26 08:57
robots.txt<BR>-rw-rw-r-- 1 nagios
nagiocmd 10k Mar 26 08:57
side.html<BR>drwxrwxr-x 2 nagios
nagiocmd 4.0k Mar 25 16:49 ssi<BR>drwxrwxr-x
2 nagios nagiocmd 4.0k Mar 26 08:57
stylesheets</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nagios SBIN:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-rwxrwxr-x 1 nagios
nagiocmd 150k Mar 26 08:57
avail.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 150k Mar 26 08:57
cmd.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 118k Mar 26 08:57
config.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 164k Mar 26 08:57
extinfo.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 172k Mar 26 08:57
histogram.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 108k Mar 26 08:57
history.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 105k Mar 26 08:57
notifications.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 102k Mar 26 08:57
outages.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 103k Mar 26 08:57
showlog.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 149k Mar 26 08:57
status.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 184k Mar 26 08:57
statusmap.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 119k Mar 26 08:57
statuswml.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 113k Mar 26 08:57
statuswrl.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 123k Mar 26 08:57
summary.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 127k Mar 26 08:57
tac.cgi<BR>-rwxrwxr-x 1 nagios
nagiocmd 173k Mar 26 08:57 trends.cgi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nagios ETC</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-rwxrwxr-x 1 nagios
nagiocmd 16k Mar 27 12:44
cgi.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 3.3k Mar 26 12:02
checkcommands.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 358 Mar 25 19:27
contactgroups.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 1.0k Mar 25 19:26
contacts.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 670 Mar 26 09:09
dependencies.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 670 Mar 26 09:06
escalations.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 440 Mar 25 19:22
hostgroups.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 1.4k Mar 25 19:20
hosts.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 3.7k Mar 25 19:05
misccommands.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 21k Mar 26 09:26
nagios.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 21 Mar 26 09:15
nagios.pwd<BR>-rwxrwxr-x 1 nagios
nagiocmd 3.0k Mar 26 09:04
resource.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 1.6k Mar 26 09:09
services.cfg<BR>-rwxrwxr-x 1 nagios
nagiocmd 17k Mar 25 16:49
services.cfg-sample<BR>-rwxrwxr-x 1 nagios
nagiocmd 1.1k Mar 25 17:03 timeperiods.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I look at any CGI other than tactical overview I
get this message</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV class=errorMessage align=center>It appears as though you do not have
permission to view information for any of the hosts you requested...</DIV>
<DIV class=errorDescription align=center>If you believe this is an error, check
the HTTP server authentication requirements for accessing this CGI<BR>and check
the authorization options in your CGI configuration file.</DIV>
<DIV class=errorDescription align=center> </DIV>
<DIV class=errorDescription align=left><FONT face=Arial
size=2></FONT> </DIV>
<DIV class=errorDescription align=left><FONT face=Arial size=2>I am not sure
what is happening incorrectly in my authentication.
</FONT></DIV></DIV></BODY></HTML>