<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.2">
</HEAD>
<BODY>
My install works great. RH8.0 Apache 1.3.27 mod_ssl,mod_perl,php4. You might try deleting the trailing slash on the "Alias /nagios/ /usr/local/nagios/share/" to "Alias /nagios /usr/local/nagios/share" and the \n restart Apache.
<BR>
<BR>
<BR>
Terry Inzauro
<BR>
<BR>
On Fri, 2002-12-06 at 00:46, Chris Fairbanks wrote:
<BLOCKQUOTE>
<PRE><FONT COLOR="#73131d"><FONT SIZE="3"><I>My httpasswd.users file and everything is setup totally correctly and</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>use_authentication=1 is set. I have also tried setting all the</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for's = * but to no avail. From the sounds of it, it looks</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>like this might be an issue with RH8.0 or Apache 2.0.40 that ships</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>default with RH8.0. Is there anyone on this list that has Nagios</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>working on RH8.0?</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Thanks,</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Chris</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>-----Original Message-----</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>From: wrnash [mailto:wrnash@wrnash.net] </FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Sent: Thursday, December 05, 2002 3:59 PM</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>To: 'Potter, G M (Greg)'; 'Nagios-users (E-mail)'</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Subject: RE: [Nagios-users] RE: Permissions Error</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Have you did: </FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>htpasswd /usr/local/nagios/etc/htpasswd.users username</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>And also is use_authentication=1</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Do you get any error when you type /usr/local/nagios/bin/nagios -v <main</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>configuration file> example would be /usr/local/nagios/etc/nagios.cfg</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Thanks Bill Nash</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>-----Original Message-----</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>From: nagios-users-admin@lists.sourceforge.net</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>[mailto:nagios-users-admin@lists.sourceforge.net] On Behalf Of Potter, G</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>M (Greg)</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Sent: Thursday, December 05, 2002 5:39 PM</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>To: Nagios-users (E-mail)</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Subject: FW: [Nagios-users] RE: Permissions Error</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>What do you have in the cgi.cfg file for the following variables?:</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_system_information=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_configuration_information=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_system_commands=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_all_services=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_all_hosts=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_all_service_commands=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>authorized_for_all_host_commands=nagiosadmin</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Greg</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>-----Original Message-----</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>From: Robertson, Brown [mailto:brown.robertson@maac.net]</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Sent: Thursday, December 05, 2002 4:14 PM</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>To: ChrisF@winterlink.net</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Cc: Nagios-users@lists.sourceforge.net</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Subject: [Nagios-users] RE: Permissions Error</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Chris, did you ever find out the cause of your permission error? I am</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>running Red Hat 8.0 and finding the same problem. I have also followed</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>the faq exactly. .htaccess files look good, httpd.conf edited properly.</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Htpasswd.users file is correct. I'm wondering if it might be some</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>problem with apache under RH 8.0?</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Anyone else have any ideas?</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Here's what I have in my httpd.conf:</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I><Directory "/usr/local/nagios/sbin/"></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> AllowOverride AuthConfig</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Options ExecCGI</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Order allow,deny </FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Allow from all</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></Directory></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Alias /nagios/ /usr/local/nagios/share/</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I><Directory "/usr/local/nagios/share"></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Options None</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> AllowOverride AuthConfig</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Order allow,deny</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I> Allow from all</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></Directory></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>And in my .htaccess, located in /usr/local/nagios/sbin and</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>/usr/local/nagios/share</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>AuthName "Nagios Access"</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>AuthType Basic</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>AuthUserFile /usr/local/nagios/etc/htpasswd.users</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>require valid-user</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Then I :</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Still no luck. It will continually request authentication but will never</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>accept it. </FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Any ideas?</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>-------------------------------------------------------</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>This sf.net email is sponsored by:ThinkGeek</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Welcome to geek heaven.</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>http://thinkgeek.com/sf _______________________________________________</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Nagios-users mailing list</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Nagios-users@lists.sourceforge.net</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>https://lists.sourceforge.net/lists/listinfo/nagios-users</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>-------------------------------------------------------</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>This sf.net email is sponsored by:ThinkGeek</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Welcome to geek heaven.</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>http://thinkgeek.com/sf _______________________________________________</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Nagios-users mailing list</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Nagios-users@lists.sourceforge.net</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>https://lists.sourceforge.net/lists/listinfo/nagios-users</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>-------------------------------------------------------</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>This sf.net email is sponsored by:ThinkGeek</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Welcome to geek heaven.</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>http://thinkgeek.com/sf</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>_______________________________________________</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Nagios-users mailing list</FONT></FONT></I>
<FONT COLOR="#73131d"><FONT SIZE="3"><I>Nagios-users@lists.sourceforge.net</FONT></FONT></I></PRE>
</BLOCKQUOTE>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users"><FONT SIZE="3"><I>https://lists.sourceforge.net/lists/listinfo/nagios-users</FONT></I></A>
<BR>
</BODY>
</HTML>