<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>No Luck with Apache and Nagios</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Did you try compiling Apache from source? If not,
give that a shot. You might be tripping up on an older config. Also, you could
try the default config files if they are still there. httpd-std.conf would be
the file name. Start Apache with just the default config file just to make sure
it starts and then add your changes. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Todd</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ewh@groupoliver.com href="mailto:ewh@groupoliver.com">Eric X.
Holzapfel</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=Nagios-users@lists.sourceforge.net
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 07, 2005 8:04
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] No Luck with
Apache and Nagios</DIV>
<DIV><BR></DIV><!-- Converted from text/rtf format --><BR>
<P align=left><SPAN lang=en-us><FONT face=Tahoma
size=2>_____________________________________________<BR></FONT></SPAN><SPAN
lang=en-us></SPAN></P><BR><BR>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>Hello
List,</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>I am trying to run
Nagios 2.0b5 on RH Fedora 4 with apache 2.0.54</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>I can start nagios ok,
and both the –v, -s, and status report ok. The nagios.log file reports
startup and monitoring info ok.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>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.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>ScriptAlias /nagios/cgi-bin/
/usr/local/nagios/sbin/</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2><Directory "/usr/local/nagios/sbin/"></FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> AllowOverride AuthConfig</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> Options ExecCGI</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> Order allow,deny</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> Allow from all</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2></Directory></FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>And </FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>Alias /nagios/ /usr/local/nagios/share/</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2><Directory "/usr/local/nagios/share"></FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> Options None</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> AllowOverride AuthConfig</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> Order allow,deny</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2> Allow from all</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2></Directory></FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>Any ideas?????</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>When I try to go to</FONT></B></SPAN><SPAN lang=en-us> </SPAN><A
href="http://localhost/nagios"><SPAN lang=en-us></SPAN><SPAN
lang=en-us><U><FONT face="Courier New" color=#0000ff
size=2>http://localhost/nagios</FONT></U></SPAN><SPAN
lang=en-us></SPAN></A><SPAN lang=en-us><B></B></SPAN><SPAN lang=en-us><B><FONT
face="Courier New" color=#ff0000 size=2> I get page not found,
etc</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>Thanks,</FONT></B></SPAN></P>
<P align=left><SPAN lang=en-us><B><FONT face="Courier New" color=#ff0000
size=2>eric</FONT></B></SPAN></P><BR><BR><BR><BR></BLOCKQUOTE></BODY></HTML>