CGI permissions problem HELP!

Rick Blair rickblair_mail at yahoo.com
Thu Sep 11 23:23:13 CEST 2003


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

					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.

I have been running nagios 1.0 for 5 months on Red Hat
7.3.  I built rpms from the tar balls.

Everything was working fine.........       Then I
upgraded to nagios 1.1, again building the rpms from
the tar balls.

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

Then I down-graded back to nagios 1.0 and I still get
the above error!   Even though I am using the same
configs from the server that operated for 5 months
without any problem!

I then went to my lab where I now realize I should
have started.

I installed nagios 1.0 on one server and 1.1 on
another and moved over all of my configs.     Same
results!!!


These are some things I have tested so far:

1. I have run my CGIs from the command line with my
user id and they generate html code with the proper
data and I am allowed to run it.  I think that rules
out cgi.cfg as a problem, especially since I have not
touched that file since I had it working before.

2. .htaccess works on the main web page so I have to
assume it also works for the CGI directory since I see
no error messages for httpd.

3. I have toyed around with the permisions for the
directory which contains the nagios.cmd file.  I have
followed the online documentation step by step in this
regaurd and I still get the same results.

The only conclusion I can come to is a file permission
somewhere.  I have made all of my CGIs 755 and
everything is owned by nagios:apache.

Thanks to anyone who sees this and has some helpful
suggestions.!


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


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