Hi Prasanth, Probably apache don't have permission on cgi-dir can you paste here output of : `ls -l /usr/local/nagios/sbin /usr/local/nagios/share' ?
Apache needs read and execution permission on directories, maybe it can be resolved by `chmod -R o+rx /usr/local/nagios/sbin /usr/local/nagios/share' or give ownership to apache group ( in some system www-data ) to them. Dave Date: Fri, 14 May 2010 13:35:03 +0200 From: prasanth katakam <prasanth.kata...@gmail.com> To: Nagios Users List <nagios-users@lists.sourceforge.net> Subject: Re: [Nagios-users] 403 forbidden error Dear kris, i tried using --Options +ExecCGI-- but same error repeated 403 forbidden you dont have permission to access /nagios/ on this server httpd error log -------------------- [r...@localhost conf]# cat /var/log/httpd/error_log [Fri May 14 16:08:17 2010] [notice] caught SIGTERM, shutting down [Fri May 14 16:08:17 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri May 14 16:08:17 2010] [notice] Digest: generating secret for digest authentication ... [Fri May 14 16:08:17 2010] [notice] Digest: done [Fri May 14 16:08:17 2010] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations [Fri May 14 16:08:40 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/ [Fri May 14 16:09:00 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/ [Fri May 14 16:09:46 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/ [Fri May 14 16:09:46 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico [Fri May 14 16:10:12 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ kindly do the needfull Thanks and regards Prasanth Katakam hyderabad 9966655246 -------------------------------------------old message------------------------------------- On Fri, May 14, 2010 at 4:08 PM, Kristan Webb <kristan.w...@bbc.co.uk<mailto:kristan.w...@bbc.co.uk>> wrote: Try Options +ExecCGI ie: <Directory "/usr/local/nagios/sbin"> Options +ExecCGI AllowOverride None Order allow,deny Allow from all 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"> Options +ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user </Directory> Kris ________________________________ From: prasanth katakam [mailto:prasanth.kata...@gmail.com<mailto:prasanth.kata...@gmail.com>] Sent: 14 May 2010 10:52 To: nagios-users@lists.sourceforge.net<mailto:nagios-users@lists.sourceforge.net> Subject: [Nagios-users] 403 forbidden error Dear team, i was new to nagios, after installing when i try to open through browser i got an error like 403 forbidden you dont have permission to access /nagios/ on this server httpd error log -------------------- [r...@localhost conf]# cat /var/log/httpd/error_log [Fri May 14 14:15:12 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Fri May 14 14:18:20 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/ [Fri May 14 14:18:41 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/ httpd.conf ---------------- [r...@localhost conf]# vi /etc/httpd/conf/httpd.conf <Directory "/usr/local/nagios/sbin"> Options ExecCGI AllowOverride None Order allow,deny Allow from all 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"> Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user </Directory> kindly do the needfull Prasanth.Katakam 9966655246 http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ _______________________________________________ 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 -- Prasanth.Katakam 9966655246 ------------------------------------------------------------------------------ _______________________________________________ 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