<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=297142603-04032005>Brent - you answered your own question. You are running
apache as user "apache". The apache user does not have permissions to the
/usr/local/nagios/share directory. Try:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=297142603-04032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=297142603-04032005>chown -R apache:nagios /usr/local/nagios/share
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=297142603-04032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=297142603-04032005>and see if that helps</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>Brent
Ryan<BR><B>Sent:</B> Thursday, March 03, 2005 9:15 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Fedora 2
/Apache 2 /nagios/ Permission issue<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>
<DIV><SPAN class=313534216-03032005><FONT face=Arial size=2>I'm running <!--StartFragment --><FONT face="Times New Roman"><FONT size=3>
Apache/2.0.51 (Fedora) Server<SPAN class=381400517-03032005> </SPAN>and I've
followed all of the documentation<SPAN class=381400517-03032005> and I've set
nagios up before on other distributions of linux, but I'm n</SPAN>ot sure what
the problem is <SPAN class=381400517-03032005>here </SPAN>and I've read in
some forums that others have had issues with getting Nagios to work on Fedora
Linux. <SPAN class=381400517-03032005>The error I get when navigating
to <A href="http://localhost:8080/nagios/">http://localhost:8080/nagios/</A>
is</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=313534216-03032005><FONT face=Arial size=2><FONT
face="Times New Roman"><FONT size=3><SPAN class=381400517-03032005><!--StartFragment -->
<H1>Forbidden</H1>
<P>You don't have permission to access /nagios/ on this server.</P>
<P> </P></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=313534216-03032005><SPAN class=381400517-03032005>httpd is
running as user 'apache'</SPAN></SPAN></DIV>
<DIV><SPAN class=313534216-03032005><SPAN
class=381400517-03032005></SPAN></SPAN> </DIV>
<DIV><SPAN class=313534216-03032005>The apache error log has:</SPAN></DIV>
<DIV><SPAN class=313534216-03032005>[Thu Mar 03 09:42:44 2005] [error] Directory
index forbidden by rule: /usr/local/nagios/share<BR></SPAN></DIV>
<DIV><SPAN class=313534216-03032005></SPAN> </DIV>
<DIV><SPAN class=313534216-03032005>Any ideas on this or how to fix it?<SPAN
class=381400517-03032005> More information about my setup is
below:</SPAN></SPAN></DIV>
<DIV><SPAN class=313534216-03032005><SPAN
class=381400517-03032005></SPAN></SPAN> </DIV>
<DIV><SPAN class=313534216-03032005><SPAN
class=381400517-03032005><STRONG>/usr/local/nagios</STRONG></SPAN></SPAN></DIV>
<DIV><SPAN class=313534216-03032005><SPAN
class=381400517-03032005>drwxrwxr-x 2 nagios
nagios 4096 Mar 2 18:38 bin<BR>drwxr-xr-x 3
nagios nagios 4096 Mar 3 08:59
etc<BR>drwxr-xr-x 2 nagios nagios 4096 Mar 2
18:46 libexec<BR>drwxrwxr-x 11 nagios nagios 4096
Mar 2 18:34 nagios-2.0b2<BR>-rw-r--r-- 1 nagios nagios 5765120
Mar 2 18:25 nagios-2.0b2.tar<BR>drwxrwxrwx 10 nagios
nagios 4096 Mar 2 18:45
nagios-plugins-1.4<BR>-rw-r--r-- 1 nagios nagios 4208640 Mar 2
18:25 nagios-plugins-1.4.tar<BR>drwxrwxr-x 2 nagios
nagios 4096 Mar 3 08:46 sbin<BR>drwxrwxr-x 9
nagios nagios 4096 Mar 3 09:18
share<BR>drwxrwxr-x 3 nagios nagios 4096 Mar
2 18:38 var</SPAN></DIV></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial size=2><STRONG>httpd.conf
has the following at the bottom:</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial size=2>ScriptAlias
/nagios/cgi-bin "/usr/local/nagios/sbin"<BR><Directory
"/usr/local/nagios/sbin"><BR># SSLRequireSSL<BR>
Options ExecCGI<BR> AllowOverride AuthConfig<BR> Order
allow,deny<BR> Allow from all<BR># Order
deny,allow<BR># Deny from all<BR># Allow from
127.0.0.1<BR></Directory></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial size=2>Alias /nagios/
"/usr/local/nagios/share"<BR><Directory
"/usr/local/nagios/share"><BR># SSLRequireSSL<BR>
Options None<BR> AllowOverride AuthConfig<BR> Order
allow,deny<BR> Allow from all<BR># Order
deny,allow<BR># Deny from all<BR># Allow from
127.0.0.1<BR></Directory></FONT></SPAN></DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=381400517-03032005><FONT face=Arial
size=2>Brent</FONT></SPAN></DIV><!--[object_id=#blackboard.com#]--><FONT
face=Tahoma size=2><FONT color=#0000ff>
<P align=center><FONT face=Tahoma size=2><FONT color=#0000ff><STRONG>Don't miss
the 2005 Blackboard Users Conference April 12-14 in Baltimore, MD!
<BR>Visit </STRONG><A
href="http://www.blackboard.com/about/events/BbUC05/index.htm"
target=_blank></STRONG><STRONG>http://www.blackboard.com/about/events/BbUC05/index.htm</A><STRONG>
for more information.</STRONG></FONT></FONT></P></FONT></FONT>
<P align=center><FONT face=Tahoma size=2><FONT color=#0000ff>This e-mail is
intended only for the personal and confidential use of the recipient(s) named
above. <BR>It may include Blackboard confidential and proprietary information,
and is not for redistribution.<BR></P></FONT></FONT><BR>-- <BR>This message has
been scanned for viruses and dangerous <BR>content by <A
href="http://www.mailscanner.info/"></B><B>MailScanner</A>, and is believed to
be clean. <BR>MailScanner at <A
href="http://www.bandwidthco.com/"></B><B>Bandwidthco.com</A> is for your
absolute protection. </STRONG></BODY><br />--
<br />This message has been scanned for viruses and dangerous
<br /> content by <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is believed to be clean.
<br />MailScanner at <a href="http://www.bandwidthco.com/"><b>Bandwidthco.com</b></a> is for your absolute protection.
</HTML>