n00b trying to set up on freebsd
Kurt Buff
kurt.buff at gmail.com
Fri Jan 22 20:03:49 CET 2010
I'm trying to install nagios on freebsd, and can't get to the point of
getting lynx on the host to talk to http://192.168.8.20/nagios - I get
a 403 "You don't have permission to access /nagios/ on this server."
I'm beating my brains out on this one, and don't know what I'm doing
wrong. I'm sure it's something really simple I'm overlooking, because
just browsing http://192.168.8.20 gets a response. Unfortunately there
isn't a quick install guide for freebsd, so I'm having to do some
translation of the docs.
Any help much appreciated.
More info:
I've created /usr/local/etc/nagios/htpasswd.users, as noted in the
stanzas below.
I've tried www:www and root:wheel and www:nagios as permissions on
/usr/local/www/nagios, with the same result.
I've added the following stanzas to the end of httpd.conf:
----------begin httpd.conf snippet----------
Include etc/apache22/Includes/*.conf
ScriptAlias /nagios/cgi-bin "/usr/local/www/nagios/cgi-bin"
<Directory "/usr/local/www/nagios/cgi-bin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/etc/nagios/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/www/nagios"
<Directory "/usr/local/www/nagios">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/etc/nagios/htpasswd.users
Require valid-user
</Directory>
----------end httpd.conf snippet----------
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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