403 forbidden error

prasanth katakam prasanth.katakam at gmail.com
Fri May 14 11:52:12 CEST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100514/70a1da1e/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