<p>Hi all,<br> <br>I have looked at all the questions so far, and nothing that brings any comfort.<br> <br>I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL)<br> <br>I have all the following installed:<br>
Apache<br>PHP<br>GCC compiler<br>GD development libraries<br> <br>I have nagios and nagcmd defined<br> <br>I have installed nagios and the plugins<br> <br>I have a passwd in htpasswd, and it is read acces for all.<br> <br>
SELinux is disabled<br> <br>In terms of my nagios.conf, this is it…<br> <br>ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"<br> <br><Directory "/usr/local/nagios/sbin"><br># SSLRequireSSL<br>
Options FollowSymLinks ExecCGI<br> AllowOverride AuthConfig<br> Order allow,deny<br> Allow from all<br> AuthName "Nagios Access"<br> AuthType Basic<br> AuthUserFile /usr/local/nagios/etc/htpasswd.users<br>
Require valid-user<br></Directory><br> <br>Alias /nagios "/usr/local/nagios/share"<br> <br><Directory "/usr/local/nagios/share"><br># SSLRequireSSL<br> Options FollowSymLinks<br> DirectoryIndex index.html<br>
AllowOverride AuthConfig<br> Order allow,deny<br> Allow from all<br> AuthName "Nagios Access"<br> AuthType Basic<br> AuthUserFile /usr/local/nagios/etc/htpasswd.users<br> Require valid-user<br></Directory><br>
<br> <br>The contents of my /share is the following:<br>drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 .<br>drwx------ 12 nagios nagcmd 4096 mrt 8 11:39 ..<br>drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp<br>
drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs<br>drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images<br>-rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html<br>drwxr-xr-x 4 root root 4096 mrt 8 11:39 locale<br>
-rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html<br>drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media<br>-rw-rw-r-- 1 nagios nagcmd 26 mrt 5 12:23 robots.txt<br>-rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html<br>
drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi<br>drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets<br> <br> <br>The errors I am getting is the following:<br> <br>Forbidden<br>You don't have permission to access /nagios on this server.<br>
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p>
<p> </p>
<div>Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80<br> <br> <br>I am making the assumption that the 403 is less serious, and that it is actually the permissions that needs fixing…<br> <br>Thanks in advance for your willingness to look at this with me.<br>
<br>Regards</div>
<div> </div>
<div>Gezina</div>