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)...

Guy Waugh wrote the following on 15.07.2009 10:29:
Hi Nadia,

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 :-)

Anyway...

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:

DirectoryIndex index.html

Regards,
Guy.

On Wed, Jul 15, 2009 at 9:03 AM, nadia kheffache <nadiakheffa...@yahoo.fr <mailto:nadiakheffa...@yahoo.fr>> wrote:


    Hi Guy,

    i have these error in my log file:

    [r...@serveur nagios-plugins-1.4.11]# tail -f
    /etc/httpd/logs/error_log
    [Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios /share/
    [Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios /share/
    [Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios /share/
    [Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/
    [Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/
    [Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/
    [Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/
    [Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/
    [Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/
    [Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1] Directory
    index forbidden by rule: /var/www/html/



    --- En date de : Mer 15.7.09, Guy Waugh <guid...@gmail.com
    <mailto:guid...@gmail.com>> a écrit :

    > De: Guy Waugh <guid...@gmail.com <mailto:guid...@gmail.com>>
    > Objet: Re: [Nagios-users] error to access on nagios web
    > À: "nadia kheffache" <nadiakheffa...@yahoo.fr
    <mailto:nadiakheffa...@yahoo.fr>>
    > Cc: nagios-users@lists.sourceforge.net
    <mailto:nagios-users@lists.sourceforge.net>
    > Date: Mercredi 15 Juillet 2009, 9h52
    > Hi Nadia,
> > What does the apache error log say? > > Regards,
    > Guy.
    >
    >
    > On Wed, Jul 15, 2009 at 8:29 AM,
    > nadia kheffache <nadiakheffa...@yahoo.fr
    <mailto:nadiakheffa...@yahoo.fr>>
    > wrote:
    >
    >
    > I'm having some issues setting up the web interface for
    > Nagios. I have follow
    http://nagios.sourceforge.net/docs/2_0/cgiauth.html
    > instructions to the letter and I'm getting
    >
    >
    > Forbidden
    >
    > You don't have permission to access /nagios on this
    > server.
    > __________________________________________________________________
    >
    > Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
    >
    >
    > i have a right permission on these file:
    >
    > [r...@spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users
    > -rwxrwxr-x 1 apache apache 26 sep 16  2008
    > /usr/local/nagios/etc/htpasswd.users
    >
    > ------------------------------------------------------------
    >
    >
    > nagios.conf: "/etc/httpd/conf.d/nagios.conf"
    >
    > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
    > # Last Modified: 11-26-2005
    > #
    > # This file contains examples of entries that need
    > # to be incorporated into your Apache web server
    >
    > # configuration file.  Customize the paths, etc. as
    > # needed to fit your system.
    >
    > ScriptAlias /nagios/cgi-bin
    > "/usr/local/nagios/sbin"
    >
    > <Directory "/usr/local/nagios/sbin">
    > #  SSLRequireSSL
    >
    >   Options ExecCGI
    >   AllowOverride None
    >   Order allow,deny
    >   Allow from all
    > #  Order deny,allow
    > #  Deny from all
    > #  Allow from 127.0.0.1
    >   AuthName "Nagios Access"
    >   AuthType Basic
    >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
    >
    >   Require valid-user
    > </Directory>
    >
    > Alias /nagios "/usr/local/nagios/share"
    >
    > <Directory "/usr/local/nagios/share">
    > #  SSLRequireSSL
    >   Options None
    >   AllowOverride None
    >
    >   Order allow,deny
    >   Allow from all
    > #  Order deny,allow
    > #  Deny from all
    > #  Allow from 127.0.0.1
    >   AuthName "Nagios Access"
    >   AuthType Basic
    >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
    >
    >   Require valid-user
    > </Directory>
    >
    > ________________________________________________________________
    >
    > Thank for your help
    >
    >
    >
    >
    >
    >
    >
    >
    
------------------------------------------------------------------------------
    >
    > 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: http://p.sf.net/sfu/Challenge
    > _______________________________________________
    > Nagios-users mailing list
    > Nagios-users@lists.sourceforge.net
    <mailto:Nagios-users@lists.sourceforge.net>
    >
    > https://lists.sourceforge.net/lists/listinfo/nagios-users
    > ::: Please include Nagios version, plugin version (-v) and
    > OS when reporting any issue.
    >
    > ::: Messages without supporting info will risk being sent
    > to /dev/null
    >
    >
    >





------------------------------------------------------------------------

------------------------------------------------------------------------------
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: http://p.sf.net/sfu/Challenge
------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null

--
DI (FH) Michael Friedrich
michael.friedr...@univie.ac.at
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
------------------------------------------------------------------------------
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: http://p.sf.net/sfu/Challenge
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to