403 forbidden error
Kristan Webb
Kristan.Webb at bbc.co.uk
Fri May 14 12:38:05 CEST 2010
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100514/d1fa1fc8/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