<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=028163213-25062009><FONT face=Arial
color=#0000ff size=2>Hi there --</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=028163213-25062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=028163213-25062009><FONT face=Arial
color=#0000ff size=2>Thanks for your reply. I made the change that you
suggested, and subsequently restarted the Apache and Nagios
applications.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=028163213-25062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=028163213-25062009><FONT face=Arial
color=#0000ff size=2>Unfortunately, the problem still occurs. Here is the
output that I am seeing:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=028163213-25062009></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=028163213-25062009>
<H1><FONT face=Arial size=2>Not Found</FONT></H1>
<P><FONT face=Arial size=2>The requested URL /nagios/cgi-bin/status.cgi was not
found on this server.</FONT></P>
<P><SPAN class=028163213-25062009><FONT face=Arial color=#0000ff size=2>I can't
figure out what is going on with this. Enclosed is the updated version of the
httpd.conf with the changes that were suggested.</FONT></SPAN></P>
<P><SPAN class=028163213-25062009><FONT face=Arial color=#0000ff size=2>I am
desperate at this point...</FONT></SPAN></P>
<P><SPAN class=028163213-25062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </P>
<P><SPAN class=028163213-25062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </P><FONT face=Arial
size=2> </FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Guy Waugh [mailto:guidosh@gmail.com]
<BR><B>Sent:</B> Thursday, June 25, 2009 4:15 AM<BR><B>To:</B> Kaplan, Andrew
H.; nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users]
Problem getting past main page<BR></FONT><BR></DIV>
<DIV></DIV>Hi Andrew,<BR><BR>
<DIV class=gmail_quote>On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. <SPAN
dir=ltr><<A
href="mailto:AHKAPLAN@partners.org">AHKAPLAN@partners.org</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face="Courier New" size=2>This issue is an offshoot of the Problem in
preflight check with commands.cfg.</FONT> </P>
<P><FONT face="Courier New" size=2>I went ahead and copied the nagios
directory from our original server to the new</FONT> <BR><FONT
face="Courier New" size=2>one. Once that was done, I did the upgrade to
version 3.1.2 of nagios. The main page</FONT> <BR><FONT face="Courier New"
size=2>of the application appears without a problem. However, whenever I try
to go to any one</FONT> <BR><FONT face="Courier New" size=2>of the links from
the main page, an error message similar to the one below appears</FONT>
<BR><FONT face="Courier New" size=2>on-screen:</FONT> </P>
<P><B><FONT face="Courier New" size=2>Not Found</FONT></B> <BR><B><FONT
face="Courier New" size=2>The requested URL /nagios/cgi-bin/status.cgi was not
found on this server.</FONT></B></P></DIV></BLOCKQUOTE>
<DIV><BR>Looking at your attached httpd.conf file, you seem to have configured
the URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then
you are trying to access them with the URL '/nagios/cgi-bin'. Provided the
Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, you
should probably define your ScriptAlias like this:<BR><BR>ScriptAlias
/nagios/cgi-bin "/usr/local/nagios/sbin"<BR><BR>Cheers,<BR>Guy.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><B><FONT face="Courier New" size=2></FONT></B></P><BR>
<P><FONT face="Courier New" size=2>I noticed that after I inserted the
snippets from the nagios.conf file into the </FONT><BR><FONT
face="Courier New" size=2>httpd.conf file, and subsequently restarted the
Apache server, the following</FONT> <BR><FONT face="Courier New" size=2>errors
appeared on-screen:</FONT> </P>
<P><B><FONT face="Courier New" size=2>Starting httpd: The ScriptAlias
directive in /etc/httpd/conf/httpd.conf at line</FONT></B> <BR><B><FONT
face="Courier New" size=2>566 will probably never match because it overlaps an
earlier ScriptAlias.</FONT></B> <BR><B><FONT face="Courier New" size=2>[warn]
The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will</FONT></B>
<BR><B><FONT face="Courier New" size=2>probably never match because it
overlaps an earlier Alias.</FONT></B> </P>
<P><FONT face="Courier New" size=2>I have enclosed a copy of the httpd.conf
file in its present version. I am at a</FONT> <BR><FONT face="Courier New"
size=2>lossas to why the error message is occurring, and I would really
appreciate help on</FONT> <BR><FONT face="Courier New" size=2>this.
</FONT></P>
<P><FONT face=Arial color=#000000 size=2><<httpd.conf>>
</FONT></P><PRE>The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
<A href="http://www.partners.org/complianceline" target=_blank>http://www.partners.org/complianceline</A> . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
</PRE></DIV><BR>------------------------------------------------------------------------------<BR><BR>_______________________________________________<BR>Nagios-users
mailing list<BR><A
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</A><BR><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
target=_blank>https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>:::
Please include Nagios version, plugin version (-v) and OS when reporting any
issue.<BR>::: Messages without supporting info will risk being sent to
/dev/null<BR></BLOCKQUOTE></DIV><BR></BODY></HTML>