403 forbidden error

Richard Lynch richard.lynch at rasmussen.edu
Mon May 17 18:17:50 CEST 2010


Did you put a username/password in /usr/local/nagios/etc/htpasswd.users that
you know is correct?

You¹re supposed to get a 403 until you supply the username and
unhashed-password from that file.


On 5/14/10 4:52 AM, "prasanth katakam" <prasanth.katakam at gmail.com> wrote:

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

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