<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Recently there was a discussion about that on nagios-portal.org (in
german) and the solution was to install php (in php.conf DirectoryIndex
points to index.php)...</tt><br>
<br>
Guy Waugh wrote the following on 15.07.2009 10:29:
<blockquote
cite="mid:b760780c0907150129t541bad38ha76038c02c95d6b7@mail.gmail.com"
type="cite">Hi Nadia,<br>
<br>
It's good to make sure you send a copy of all replies to the list --
that way, people with the same problem later on get to see the whole
conversation :-)<br>
<br>
Anyway...<br>
<br>
Is there an 'index.html' file in /usr/local/nagios/share ? If a file
called 'index.html' does exist there, is there a line like this in your
apache configuration file:<br>
<br>
DirectoryIndex index.html<br>
<br>
Regards,<br>
Guy.<br>
<br>
<div class="gmail_quote">On Wed, Jul 15, 2009 at 9:03 AM, nadia
kheffache <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nadiakheffache@yahoo.fr">nadiakheffache@yahoo.fr</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;"><br>
Hi Guy,<br>
<br>
i have these error in my log file:<br>
<br>
[root@serveur nagios-plugins-1.4.11]# tail -f /etc/httpd/logs/error_log<br>
[Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios
/share/<br>
[Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios
/share/<br>
[Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios
/share/<br>
[Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
[Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
[Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
[Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
[Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
[Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
[Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/html/<br>
<br>
<br>
<br>
--- En date de : Mer 15.7.09, Guy Waugh <<a moz-do-not-send="true"
href="mailto:guidosh@gmail.com">guidosh@gmail.com</a>> a écrit :<br>
<br>
> De: Guy Waugh <<a moz-do-not-send="true"
href="mailto:guidosh@gmail.com">guidosh@gmail.com</a>><br>
> Objet: Re: [Nagios-users] error to access on nagios web<br>
> À: "nadia kheffache" <<a moz-do-not-send="true"
href="mailto:nadiakheffache@yahoo.fr">nadiakheffache@yahoo.fr</a>><br>
> Cc: <a moz-do-not-send="true"
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
> Date: Mercredi 15 Juillet 2009, 9h52<br>
<div>
<div class="h5">> Hi Nadia,<br>
> <br>
> What does the apache error log say?<br>
> <br>
> Regards,<br>
> Guy.<br>
><br>
><br>
> On Wed, Jul 15, 2009 at 8:29 AM,<br>
> nadia kheffache <<a moz-do-not-send="true"
href="mailto:nadiakheffache@yahoo.fr">nadiakheffache@yahoo.fr</a>><br>
> wrote:<br>
><br>
><br>
> I'm having some issues setting up the web interface for<br>
> Nagios. I have follow <a moz-do-not-send="true"
href="http://nagios.sourceforge.net/docs/2_0/cgiauth.html"
target="_blank">http://nagios.sourceforge.net/docs/2_0/cgiauth.html</a><br>
> instructions to the letter and I'm getting<br>
><br>
><br>
> Forbidden<br>
><br>
> You don't have permission to access /nagios on this<br>
> server.<br>
> __________________________________________________________________<br>
><br>
> Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80<br>
><br>
><br>
> i have a right permission on these file:<br>
><br>
> [root@spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users<br>
> -rwxrwxr-x 1 apache apache 26 sep 16 2008<br>
> /usr/local/nagios/etc/htpasswd.users<br>
><br>
> ------------------------------------------------------------<br>
><br>
><br>
> nagios.conf: "/etc/httpd/conf.d/nagios.conf"<br>
><br>
> # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER<br>
> # Last Modified: 11-26-2005<br>
> #<br>
> # This file contains examples of entries that need<br>
> # to be incorporated into your Apache web server<br>
><br>
> # configuration file. Customize the paths, etc. as<br>
> # needed to fit your system.<br>
><br>
> ScriptAlias /nagios/cgi-bin<br>
> "/usr/local/nagios/sbin"<br>
><br>
> <Directory "/usr/local/nagios/sbin"><br>
> # SSLRequireSSL<br>
><br>
> Options ExecCGI<br>
> AllowOverride None<br>
> Order allow,deny<br>
> Allow from all<br>
> # Order deny,allow<br>
> # Deny from all<br>
> # Allow from 127.0.0.1<br>
> AuthName "Nagios Access"<br>
> AuthType Basic<br>
> AuthUserFile /usr/local/nagios/etc/htpasswd.users<br>
><br>
> Require valid-user<br>
> </Directory><br>
><br>
> Alias /nagios "/usr/local/nagios/share"<br>
><br>
> <Directory "/usr/local/nagios/share"><br>
> # SSLRequireSSL<br>
> Options None<br>
> AllowOverride None<br>
><br>
> Order allow,deny<br>
> Allow from all<br>
> # Order deny,allow<br>
> # Deny from all<br>
> # Allow from 127.0.0.1<br>
> AuthName "Nagios Access"<br>
> AuthType Basic<br>
> AuthUserFile /usr/local/nagios/etc/htpasswd.users<br>
><br>
> Require valid-user<br>
> </Directory><br>
><br>
> ________________________________________________________________<br>
><br>
> Thank for your help<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>
------------------------------------------------------------------------------<br>
><br>
> Enter the BlackBerry Developer Challenge<br>
> This is your chance to win up to $100,000 in prizes! For a<br>
> limited time,<br>
> vendors submitting new applications to BlackBerry App<br>
> World(TM) will have<br>
> the opportunity to enter the BlackBerry Developer<br>
> Challenge. See full prize<br>
><br>
> details at: <a moz-do-not-send="true"
href="http://p.sf.net/sfu/Challenge" target="_blank">http://p.sf.net/sfu/Challenge</a><br>
> _______________________________________________<br>
> Nagios-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
><br>
> <a moz-do-not-send="true"
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<br>
> OS when reporting any issue.<br>
><br>
> ::: Messages without supporting info will risk being sent<br>
> to /dev/null<br>
><br>
><br>
><br>
<br>
<br>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/Challenge">http://p.sf.net/sfu/Challenge</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
DI (FH) Michael Friedrich
<a class="moz-txt-link-abbreviated" href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>
Tel: +43 1 4277 14359
Vienna University Computer Center
Universitaetsstrasse 7
A-1010 Vienna, Austria
</pre>
</body>
</html>