Modification of Nagios Documentation
Ethan Galstad
nagios at nagios.org
Sat Nov 26 23:50:29 CET 2005
Thanks for the suggestion! The docs and sample config file have been
updated to reflect this.
On 23 Nov 2005 at 21:52, Horvath Tamas wrote:
> 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/htaccess.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
>
> <Directory "/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
> </Directory>"
>
> Alias /nagios /usr/local/nagios/share
>
> <Directory "/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
> </Directory>
>
> Thanks,
> Tamas!
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
More information about the Developers
mailing list