<br><font size=2 face="sans-serif">I have set up a new test server and made the permissions as wide open as possible.  I still get a cgi error:</font>
<div align=center>
<br><font size=3 face="Times New Roman">"It appears as though you do not have permission to view information for any of the hosts you requested..."</font>
<br></div>
<br><font size=2 face="sans-serif">1. All cgi files in /usr/local/nagios/lib/cgi are 0755 owned by nagios:apache.</font>
<br>
<br><font size=2 face="sans-serif">2. My cgi.cfg looks like this:</font>
<br><font size=2 face="sans-serif">        </font>
<br><font size=2 face="sans-serif">        main_config_file=/usr/local/nagios/etc/nagios.cfg</font>
<br><font size=2 face="sans-serif">        physical_html_path=/usr/local/nagios/share</font>
<br><font size=2 face="sans-serif">        url_html_path=/nagios</font>
<br><font size=2 face="sans-serif">        show_context_help=0</font>
<br><font size=2 face="sans-serif">        use_authentication=0</font>
<br><font size=2 face="sans-serif">        default_user_name=guest</font>
<br><font size=2 face="sans-serif">        authorized_for_system_information=*</font>
<br><font size=2 face="sans-serif">        authorized_for_configuration_information=*</font>
<br><font size=2 face="sans-serif">        authorized_for_system_commands=*</font>
<br><font size=2 face="sans-serif">        authorized_for_all_services=*</font>
<br><font size=2 face="sans-serif">        authorized_for_all_hosts=*</font>
<br><font size=2 face="sans-serif">        authorized_for_all_service_commands=*</font>
<br>
<br><font size=2 face="sans-serif">3. My httpd Include file for nagios (/etc/httpd/conf.d/nagios.conf) looks like this:</font>
<br><font size=2 face="sans-serif">        </font>
<br><font size=2 face="sans-serif">        ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/lib/cgi/</font>
<br><font size=2 face="sans-serif">        <Directory /usr/local/nagios/lib/cgi/></font>
<br><font size=2 face="sans-serif">           Options ExecCGI</font>
<br><font size=2 face="sans-serif">           order deny,allow</font>
<br><font size=2 face="sans-serif">           deny from all</font>
<br><font size=2 face="sans-serif">           allow from all</font>
<br><font size=2 face="sans-serif">        </Directory></font>
<br>
<br><font size=2 face="sans-serif">        Alias /nagios/ /usr/local/nagios/share/</font>
<br><font size=2 face="sans-serif">        <Directory /usr/local/nagios/share/></font>
<br><font size=2 face="sans-serif">           Options None</font>
<br><font size=2 face="sans-serif">          order deny,allow</font>
<br><font size=2 face="sans-serif">           deny from all</font>
<br><font size=2 face="sans-serif">           allow from all</font>
<br><font size=2 face="sans-serif">        </Directory></font>
<br>
<br><font size=2 face="sans-serif">4. The web page shows me logged in as 'guest'.</font>
<br>
<br><font size=2 face="sans-serif">Rick Blair<br>
Network Engineer<br>
USFW</font>
<br>
<br><font size=2 face="sans-serif">Rick Blair<br>
Network Engineer<br>
USFW<br>
303.202.2687</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Larry Bills <larry.bills@mci.com></b></font>
<br><font size=1 face="sans-serif">Sent by: nagios-users-admin@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">09/16/2003 01:39 PM</font>
<br>
<td><font size=1 face="Arial">        </font>
<br><font size=1 face="sans-serif">        To:        </font>
<br><font size=1 face="sans-serif">        cc:        jeff vier <jeff.vier@tradingtechnologies.com>, nagios-users <nagios-users@lists.sourceforge.net></font>
<br><font size=1 face="sans-serif">        Subject:        Re: [Nagios-users] CGI permissions make me mad!</font></table>
<br>
<br>
<br><font size=3 face="Times New Roman">Correction...should have read mod_auth.so<br>
<br>
Larry<br>
<br>
Larry Bills wrote:</font>
<br><font size=3 face="Times New Roman">Have you checked out your webserver, since you did a resinstall of everything. If mod_auto.so is not loaded, you will not be able to authorize, also check all other web server switches that may affect this item. Problem might not be Nagios at all, I have never had a problem on Red Hat or Sun Solaris 6,8 or 9 if one sets the Apache web server conf file up correctly, and the permissions on Nagios per the docs.<br>
<br>
Sincerely<br>
<br>
Larry Bills<br>
<br>
jeff vier wrote:</font>
<br><font size=3 face="Courier New">While not ideal, have you tried opening up permissions on things?<br>
<br>
a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd<br>
want to leave live, but it'll at least "fix" the problem enough to let<br>
you know if it's a file permissions problem<br>
</font>
<br>