<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>No Luck with Apache and Nagios</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf format -->You
might want to look for an “include” statement in your
httpd.conf. you probably have a nagios.conf that is already being loaded.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Eric X. Holzapfel<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, December 07, 2005
7:05 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
Nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] No Luck
with Apache and Nagios</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p style='margin-left:.5in'><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>_____________________________________________</span></font></p>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Hello List,</span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>I am trying to run Nagios 2.0b5 on RH Fedora 4 with
apache 2.0.54</span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>I can start nagios ok, and both the –v, -s, and
status report ok. The nagios.log file reports startup and monitoring info
ok.</span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>The problem is with apache. I am completely
unable to use apache. If I try to put these lines in my httpd.conf file,
apache errors with a warning, that the alias won’t work because there is
an earlier alias and script alias, etc.</span></font></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>ScriptAlias
/nagios/cgi-bin/ /usr/local/nagios/sbin/</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'><Directory
"/usr/local/nagios/sbin/"></span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
AllowOverride AuthConfig</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
Options ExecCGI</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
Order allow,deny</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
Allow from all</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'></Directory></span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>And
</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>Alias
/nagios/ /usr/local/nagios/share/</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'><Directory
"/usr/local/nagios/share"></span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
Options None</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
AllowOverride AuthConfig</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
Order allow,deny</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>
Allow from all</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'></Directory></span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>Any
ideas?????</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>When
I try to go to</span></font></b> <a href="http://localhost/nagios"><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>http://localhost/nagios</span></font></a><b><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:red;font-weight:bold'> I get page not found, etc</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>Thanks,</span></font></b></p>
<p style='margin-left:.5in'><b><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>eric</span></font></b></p>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
<br>
</span></font></p>
</div>
</body>
</html>