You can also try going to <a href="http://localhost/nagios/index.html">http://localhost/nagios/index.html</a> to verify your directory index directive is being carried through properly within the Apachy configuration. I ran into an issue recently when switching to SSL, I could no longer browse directly to Nagios and had to add the DirectoryIndex directive to the default configuration. I am running Apache 2.0. <div>
<br></div><div>If you can get there using the full URL, add the line: DirectoryIndex index.html to your "/usr/local/nagios/share" directory and that should clear that issue up.<div><div><br></div><div>Ken<br><br>
<div class="gmail_quote">On Wed, Mar 25, 2009 at 4:03 AM,  <span dir="ltr"><<a href="mailto:asam30@gmail.com">asam30@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
may be you missed this,<br><br>ScriptAlias /cgi-bin/ "/home/nagios/apache2/cgi-bin/"<br><br>ScriptAlias /nagios/cgi-bin /home/nagios/nagios/sbin<br><Directory "/home/nagios/nagios/sbin"><br>AllowOverride AuthConfig<br>

Options ExecCGI<br>Order allow,deny<br>Allow from all<br></Directory><br><br>Alias /nagios /home/nagios/nagios/share<br><Directory "/home/nagios/nagios/share"><br>AllowOverride AuthConfig<br>Options None<br>

Order allow,deny<br>Allow from all<br></Directory><br><br><br>please follow all the steps in the installation giude, that will help you.<div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 6:06 AM, Patrick Morris <span dir="ltr"><<a href="mailto:patrick.morris@hp.com" target="_blank">patrick.morris@hp.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><br>
On Tue, 24 Mar 2009, Pietto Vasco wrote:<br>
<br>
> I have just finished the ubuntu quickstart guide. after starting apache and nagios when I go to locahost/nagios-- 404 not found The requested URL /nagios was not found on this server<br>
><br>
> I verified apache and nagios are running but no dice, Verified apache is listening<br>
> root@NAGIOS-VM01:/etc/apache2# sudo netstat -anp |grep '^tcp.*LISTEN'<br>
> tcp 0 0 <a href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a> 0.0.0.0:* LISTEN 5063/apache2<br>
> tcp 0 0 <a href="http://127.0.0.1:631" target="_blank">127.0.0.1:631</a> 0.0.0.0:* LISTEN 4655/cupsd<br>
> If I type in http:\\localhost is get it works!<br>
<br>
</div>If <a href="http://localhost" target="_blank">http://localhost</a> works, why are you trying to go to<br>
<a href="http://localhost/nagios" target="_blank">http://localhost/nagios</a>?<br>
<br>
Assuming that second URL should work, it would be helpful to know what<br>
your Apache configuration looks like, and how Nagios is installed.  It's<br>
obvious Apache is running, or you wouldn't get a 404 error. What isn't<br>
so obvious is where you've told it to look for Nagios, and whether<br>
Nagios is actually installed there.<br>
<br>
------------------------------------------------------------------------------<br>
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<br>
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<br>
easily build your RIAs with Flex Builder, the Eclipse(TM)based development<br>
software that enables intelligent coding and step-through debugging.<br>
Download the free 60 day trial. <a href="http://p.sf.net/sfu/www-adobe-com" target="_blank">http://p.sf.net/sfu/www-adobe-com</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">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><br clear="all"><br></div></div><font color="#888888">-- <br>Shankar Asam<br>
</font><br>------------------------------------------------------------------------------<br>
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<br>
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<br>
easily build your RIAs with Flex Builder, the Eclipse(TM)based development<br>
software that enables intelligent coding and step-through debugging.<br>
Download the free 60 day trial. <a href="http://p.sf.net/sfu/www-adobe-com" target="_blank">http://p.sf.net/sfu/www-adobe-com</a><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></div></div></div>