<br><font size=2 face="sans-serif">Matt, thanks,  this is going above and beyond........... ,  I really appreciate it.</font>
<br>
<br><font size=2 face="sans-serif">I ran your cgi and this is what I get.</font>
<br>
<table border=4>
<tr valign=top>
<td><font size=3 face="Times New Roman">AUTH_TYPE </font>
<td><font size=3 face="Times New Roman">Basic </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">DOCUMENT_ROOT </font>
<td><font size=3 face="Times New Roman">/var/www/html/ </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">GATEWAY_INTERFACE </font>
<td><font size=3 face="Times New Roman">CGI/1.1 </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_ACCEPT </font>
<td><font size=3 face="Times New Roman">image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_ACCEPT_ENCODING </font>
<td><font size=3 face="Times New Roman">gzip, deflate </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_ACCEPT_LANGUAGE </font>
<td><font size=3 face="Times New Roman">en-us </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_CONNECTION </font>
<td><font size=3 face="Times New Roman">Keep-Alive </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_COOKIE </font>
<td><font size=3 face="Times New Roman">CFID=4524; CFTOKEN=34654484 </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_HOST </font>
<td><font size=3 face="Times New Roman">ifw9bct-dude.den.fws.gov </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">HTTP_USER_AGENT </font>
<td><font size=3 face="Times New Roman">Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">PATH </font>
<td><font size=3 face="Times New Roman">/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">QUERY_STRING </font>
<td>
<tr valign=top>
<td><font size=3 face="Times New Roman">REMOTE_ADDR </font>
<td><font size=3 face="Times New Roman">10.xx.xx.xx</font>
<tr valign=top>
<td><font size=3 face="Times New Roman">REMOTE_PORT </font>
<td><font size=3 face="Times New Roman">1208 </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">REMOTE_USER </font>
<td><font size=3 face="Times New Roman">rblair </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">REQUEST_METHOD </font>
<td><font size=3 face="Times New Roman">GET </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">REQUEST_URI </font>
<td><font size=3 face="Times New Roman">/nagios/cgi-bin/env.cgi </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SCRIPT_FILENAME </font>
<td><font size=3 face="Times New Roman">/usr/local/nagios/lib/cgi/env.cgi </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SCRIPT_NAME </font>
<td><font size=3 face="Times New Roman">/nagios/cgi-bin/env.cgi </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_ADDR </font>
<td><font size=3 face="Times New Roman">164.xx.xx.xx</font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_ADMIN </font>
<td><font size=3 face="Times New Roman">xx@localhost </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_NAME </font>
<td><font size=3 face="Times New Roman">ifw9bct-dude.den.fws.gov </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_PORT </font>
<td><font size=3 face="Times New Roman">80 </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_PROTOCOL </font>
<td><font size=3 face="Times New Roman">HTTP/1.1 </font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_SIGNATURE </font>
<td><font size=3 face="Times New Roman"><i>Apache/1.3.27 Server at ifw9bct-dude.den.fws.gov Port 80</i></font>
<tr valign=top>
<td><font size=3 face="Times New Roman">SERVER_SOFTWARE </font>
<td><font size=3 face="Times New Roman">Apache/1.3.27 (Unix) (Red-Hat/Linux) </font></table>
<br>
<br><font size=3 face="Times New Roman">0 </font>
<br><font size=2 face="sans-serif">Rick Blair<br>
Network Engineer<br>
USFW<br>
303.202.2687</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Matt Pounsett <matt.pounsett@cira.ca></b></font>
<br><font size=1 face="sans-serif">Sent by: mattp@office-mail.cira.ca</font>
<p><font size=1 face="sans-serif">09/12/2003 10:44 AM</font>
<br>
<td><font size=1 face="Arial">        </font>
<br><font size=1 face="sans-serif">        To:        Rick_Blair@fws.gov</font>
<br><font size=1 face="sans-serif">        cc:        nagios-users@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif">        Subject:        Re: [Nagios-users] CGI permissions make me mad also!  HELP!!!!</font></table>
<br>
<br>
<br><font size=2 face="Courier New">On Fri, 12 Sep 2003 Rick_Blair@fws.gov wrote:<br>
<br>
> When I try to access the CGI from the link on the nagios web page I am <br>
> getting the error:<br>
<br>
The thing that bit me here was that I had failed to put my .htaccess file in<br>
all the right places.  What user does the "Tactical Monitoring Overview" table<br>
in the top left of the Tactical Overview page report you as being logged in<br>
with?<br>
<br>
Not sure if this is your problem or not.. but you might want to confirm that<br>
your .htaccess file is in both the CGI directory and the root of the HTML<br>
directory, and that it is readable by your web server user.<br>
<br>
While trying to solve my own problem, I threw together a quick little CGI to<br>
check that Apache was passing auth information properly... drop a copy of<br>
ftp://ftp.conundrum.com/pub/software/env.cgi in your Nagios cgi-bin directory<br>
and then try to run it.  Make sure Apache is setting HTTP_USER correctly.<br>
<br>
Hope this helps somehow..<br>
   Matt<br>
<br>
-- <br>
Matt Pounsett                 CIRA - Canadian Internet Registration Authority<br>
Technical Support Programmer                    350 Sparks Street, Suite 1110<br>
matt.pounsett@cira.ca                                 Ottawa, Ontario, Canada<br>
613.237.5335 ext. 231                                      http://www.cira.ca<br>
<br>
<br>
</font>
<br>
<br>