[Nagios-devel] Modification of Nagios Documentation

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Modification of Nagios Documentation

Post by Guest »

Hi!

In the latest documentation there is a suggestion to use .htaccess files
(http://nagios.sourceforge.net/docs/2_0/cgiauth.html).

According to Apache2 documentation
(http://httpd.apache.org/docs/2.0/howto/ ... .html#when): "In general,
you should never use .htaccess files unless you don't have access to the
main server configuration file."

I suggest to notice it in the documentation, because if someone is going to
install Nagios to a dedicated computer, he should not use .htacces (and pay
the performance penalty because o fit).

He just has to put something like this to his httpd.conf or equialent:


ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin


Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
"

Alias /nagios /usr/local/nagios/share


Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user


Thanks,
Tamas!






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked