CGI permissions make me mad also! HELP!!!!

Matt Pounsett matt.pounsett at cira.ca
Fri Sep 12 18:44:56 CEST 2003


On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote:

> When I try to access the CGI from the link on the nagios web page I am 
> getting the error:

The thing that bit me here was that I had failed to put my .htaccess file in
all the right places.  What user does the "Tactical Monitoring Overview" table
in the top left of the Tactical Overview page report you as being logged in
with?

Not sure if this is your problem or not.. but you might want to confirm that
your .htaccess file is in both the CGI directory and the root of the HTML
directory, and that it is readable by your web server user.

While trying to solve my own problem, I threw together a quick little CGI to
check that Apache was passing auth information properly... drop a copy of
ftp://ftp.conundrum.com/pub/software/env.cgi in your Nagios cgi-bin directory
and then try to run it.  Make sure Apache is setting HTTP_USER correctly.

Hope this helps somehow..
   Matt

-- 
Matt Pounsett                 CIRA - Canadian Internet Registration Authority
Technical Support Programmer                    350 Sparks Street, Suite 1110
matt.pounsett at cira.ca                                 Ottawa, Ontario, Canada
613.237.5335 ext. 231                                      http://www.cira.ca



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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