403 forbidden error

prasanth katakam prasanth.katakam at gmail.com
Fri May 14 13:35:03 CEST 2010


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

[root at 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.Webb at 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.katakam at gmail.com]
> *Sent:* 14 May 2010 10:52
> *To:* nagios-users at 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
> --------------------
>
>  [root at 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
> ----------------
>
>  [root at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100514/171e4e85/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------

-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list