Fedora 2 /Apache 2 /nagios/ Permission issue
Brent Ryan
bryan at blackboard.com
Thu Mar 3 18:14:42 CET 2005
I'm running Apache/2.0.51 (Fedora) Server and I've followed all of the
documentation and I've set nagios up before on other distributions of
linux, but I'm not sure what the problem is here and I've read in some
forums that others have had issues with getting Nagios to work on Fedora
Linux. The error I get when navigating to http://localhost:8080/nagios/
is
Forbidden
You don't have permission to access /nagios/ on this server.
httpd is running as user 'apache'
The apache error log has:
[Thu Mar 03 09:42:44 2005] [error] Directory index forbidden by rule:
/usr/local/nagios/share
Any ideas on this or how to fix it? More information about my setup is
below:
/usr/local/nagios
drwxrwxr-x 2 nagios nagios 4096 Mar 2 18:38 bin
drwxr-xr-x 3 nagios nagios 4096 Mar 3 08:59 etc
drwxr-xr-x 2 nagios nagios 4096 Mar 2 18:46 libexec
drwxrwxr-x 11 nagios nagios 4096 Mar 2 18:34 nagios-2.0b2
-rw-r--r-- 1 nagios nagios 5765120 Mar 2 18:25 nagios-2.0b2.tar
drwxrwxrwx 10 nagios nagios 4096 Mar 2 18:45 nagios-plugins-1.4
-rw-r--r-- 1 nagios nagios 4208640 Mar 2 18:25 nagios-plugins-1.4.tar
drwxrwxr-x 2 nagios nagios 4096 Mar 3 08:46 sbin
drwxrwxr-x 9 nagios nagios 4096 Mar 3 09:18 share
drwxrwxr-x 3 nagios nagios 4096 Mar 2 18:38 var
httpd.conf has the following at the bottom:
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
</Directory>
Alias /nagios/ "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
</Directory>
Thanks,
Brent
Don't miss the 2005 Blackboard Users Conference April 12-14 in Baltimore, MD!
Visit http://www.blackboard.com/about/events/BbUC05/index.htm for more information.
This e-mail is intended only for the personal and confidential use of the recipient(s) named above.
It may include Blackboard confidential and proprietary information, and is not for redistribution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050303/31cbdf13/attachment.html>
More information about the Users
mailing list