On Mon, Jan 25, 2010 at 13:18, Marc Powell <[email protected]> wrote: > > On Jan 25, 2010, at 1:51 PM, Kurt Buff wrote: <snip> >> <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> > > If you're using anything like a normal install, this one will never match, > and it's > the only one that really matters. Do you really have the directory > '/usr/local/www/nagios/cgi-bin' on your server and it contains the *.cgi > files?
Yes, '/usr/local/www/nagios/cgi-bin' does exist and contain .cgi files. I didn't put it there, so I expect that's where the FreeBSD port installs it there. > I expect not because of the nagiosadmin bit above. That implies that the > CGI's are > not being passed a username from your web server because there is no htaccess > policy that applies to the directory that contains the CGI's. I expect that > this should > really be '/usr/local/www/nagios/sbin'. Adjust the following as necessary -- > > <Directory "/usr/local/www/nagios/sbin"> > Options ExecCGI > AllowOverride None > Order deny,allow > Deny from all > Allow from 192.168.24.0/24 # or 192.168.24. > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/etc/nagios/htpasswd.users > Require valid-user > Satisfy all > </Directory> > > If this doesn't work, what errors do you see in error_log? > > -- > Marc 'Satisfy all' - that's new to me. Back in a second... Nope - that didn't work. See also my last reply to Scott Lambert. Kurt ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Nagios-users mailing list [email protected] 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
