<div>Robert,</div>
<div> </div>
<div>Which files are we talking about?</div>
<div> </div>
<div>Regards</div>
<div> </div>
<div>Herbie<br><br></div>
<div class="gmail_quote">2010/3/8 Assaf Flatto <span dir="ltr"><<a href="mailto:nagios@flatto.net">nagios@flatto.net</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">Gezina Dekker wrote:<br>><br>> Hi all,<br>><br>> I have looked at all the questions so far, and nothing that brings any<br>> 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<br>> use an ErrorDocument to handle the request.<br>><br>><br>><br>> 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<br>> is actually the permissions that needs fixing…<br>><br>> Thanks in advance for your willingness to look at this with me.<br><br>
</div></div>Did you restart the apache after the change to the configuration ?<br><br>Assaf<br><br><br><br>------------------------------------------------------------------------------<br>Download Intel® Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>proactively, and fine-tune applications for parallel performance.<br>See why Intel Parallel Studio got high marks during beta.<br><a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><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>