<div>Dear kris,</div><div><br></div><div>i tried using --<span class="Apple-style-span" style="font-family: 'Trebuchet MS'; ">Options +ExecCGI-- but same error repeated</span></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; "><span class="Apple-style-span" style="font-family: arial; "><div>403 forbidden</div><div>you dont have permission to access /nagios/ on this server</div>
</span></span></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; "><br></span></div><div><font class="Apple-style-span" face="'Trebuchet MS'"><span class="Apple-style-span" style="font-family: arial; "><div>
httpd error log</div><div>--------------------</div></span></font></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; "><br></span></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; "><span class="Apple-style-span" style="font-family: arial; "><div>
[root@localhost conf]# cat /var/log/httpd/error_log</div><div><br></div></span></span></div><div><div>[Fri May 14 16:08:17 2010] [notice] caught SIGTERM, shutting down</div><div>[Fri May 14 16:08:17 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)</div>
<div>[Fri May 14 16:08:17 2010] [notice] Digest: generating secret for digest authentication ...</div><div>[Fri May 14 16:08:17 2010] [notice] Digest: done</div><div>[Fri May 14 16:08:17 2010] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations</div>
<div>[Fri May 14 16:08:40 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/</div><div>[Fri May 14 16:09:00 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/</div>
<div>[Fri May 14 16:09:46 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/</div><div>[Fri May 14 16:09:46 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico</div>
<div>[Fri May 14 16:10:12 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/</div><div><br></div></div><div>kindly do the needfull</div><div><br></div><div>Thanks and regards</div>
<div>Prasanth Katakam</div><div>hyderabad</div><div>9966655246</div><div><br></div>-------------------------------------------old message-------------------------------------<br><br><div class="gmail_quote">On Fri, May 14, 2010 at 4:08 PM, Kristan Webb <span dir="ltr"><<a href="mailto:Kristan.Webb@bbc.co.uk">Kristan.Webb@bbc.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div>
<p dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span>Try</span></font></p>
<p dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span> Options +ExecCGI<br></span></font></p>
<p dir="ltr" align="left"><font face="Trebuchet MS" size="2"><span>ie:</span></font></p><font><span><div class="im">
<div><font face="Trebuchet MS" size="2"><Directory
"/usr/local/nagios/sbin"></font></div>
</div><div><div class="im">
<div><font face="Trebuchet MS" size="2"> Options <span>+</span>ExecCGI</font></div>
<div><font face="Trebuchet MS" size="2"> AllowOverride
None</font></div>
<div><font face="Trebuchet MS" size="2"> Order
allow,deny</font></div>
<div><font face="Trebuchet MS" size="2"> Allow from
all</font></div>
<div><font face="Trebuchet MS" size="2"> AuthName "Nagios
Access"</font></div>
<div><font face="Trebuchet MS" size="2"> AuthType
Basic</font></div>
<div><font face="Trebuchet MS" size="2"> AuthUserFile
/usr/local/nagios/etc/htpasswd.users</font></div>
<div><font face="Trebuchet MS" size="2"> Require
valid-user</font></div>
<div><font face="Trebuchet MS" size="2"></Directory></font></div>
<div><font face="Trebuchet MS"><br><font size="2"></font></font></div>
<div><font face="Trebuchet MS" size="2">Alias /nagios
/usr/local/nagios/share</font></div>
<div><font face="Trebuchet MS"><br><font size="2"></font></font></div>
<div><font face="Trebuchet MS" size="2"><Directory
"/usr/local/nagios/share"></font></div>
</div><div><font face="Trebuchet MS" size="2"> Options <span>+</span>ExecCGI</font></div><div class="im">
<div><font face="Trebuchet MS" size="2"> AllowOverride
None</font></div>
<div><font face="Trebuchet MS" size="2"> Order
allow,deny</font></div>
<div><font face="Trebuchet MS" size="2"> Allow from
all</font></div>
<div><font face="Trebuchet MS" size="2"> AuthName "Nagios
Access"</font></div>
<div><font face="Trebuchet MS" size="2"> AuthType
Basic</font></div>
<div><font face="Trebuchet MS" size="2"> AuthUserFile
/usr/local/nagios/etc/htpasswd.users</font></div>
<div><font face="Trebuchet MS" size="2"> Require
valid-user</font></div>
<div><font face="Trebuchet MS" size="2"></Directory></font></div></div></div></span></font></div>
<div> </div>
<div><font face="Trebuchet MS" size="2"><span>Kris</span></font></div>
<div><font face="Trebuchet MS" size="2"></font> </div>
<div><br></div>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> prasanth katakam
[mailto:<a href="mailto:prasanth.katakam@gmail.com" target="_blank">prasanth.katakam@gmail.com</a>] <br><b>Sent:</b> 14 May 2010
10:52<br><b>To:</b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br><b>Subject:</b>
[Nagios-users] 403 forbidden error<br></font><br></div><div><div></div><div class="h5">
<div></div>Dear team,
<div><br></div>
<div>i was new to nagios, after installing when i try to open through browser<br clear="all"><br>
<div>i got an error like 403 forbidden</div>
<div>you dont have permission to access /nagios/ on this server</div>
<div><br></div>
<div>httpd error log</div>
<div>--------------------</div>
<div><br></div>
<div>
<div>[root@localhost conf]# cat /var/log/httpd/error_log</div>
<div><br></div></div>
<div>
<div>[Fri May 14 14:15:12 2010] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/</div>
<div>[Fri May 14 14:18:20 2010] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/nagios/share/</div>
<div>[Fri May 14 14:18:41 2010] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/nagios/share/</div>
<div><br></div>
<div><br></div>
<div>httpd.conf</div>
<div>----------------</div>
<div><br></div>
<div>
<div>[root@localhost conf]# vi /etc/httpd/conf/httpd.conf </div>
<div><br></div>
<div><Directory "/usr/local/nagios/sbin"></div></div>
<div>
<div> Options ExecCGI</div>
<div> AllowOverride None</div>
<div> Order allow,deny</div>
<div> Allow from all</div>
<div> AuthName "Nagios Access"</div>
<div> AuthType Basic</div>
<div> AuthUserFile /usr/local/nagios/etc/htpasswd.users</div>
<div> Require valid-user</div>
<div></Directory></div>
<div><br></div>
<div>Alias /nagios /usr/local/nagios/share</div>
<div><br></div>
<div><Directory "/usr/local/nagios/share"></div>
<div> Options None</div>
<div> AllowOverride None</div>
<div> Order allow,deny</div>
<div> Allow from all</div>
<div> AuthName "Nagios Access"</div>
<div> AuthType Basic</div>
<div> AuthUserFile /usr/local/nagios/etc/htpasswd.users</div>
<div> Require valid-user</div>
<div></Directory></div>
<div><br></div>
<div>kindly do the needfull</div>
<div><br></div></div>Prasanth.Katakam<br>9966655246<br></div></div><div> </div><br></div></div><font size="3" face="Times New Roman"><a href="http://www.bbc.co.uk" target="_blank">http://www.bbc.co.uk</a><br>This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.<br>
If you have received it in error, please delete it from your system.<br>Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.<br>Please note that the BBC monitors e-mails sent or received.<br>
Further communication will signify your consent to this.</font>
</div>
<br>------------------------------------------------------------------------------<br>
<br>
<br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Prasanth.Katakam<br>9966655246<br>