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/ ... .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 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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
>
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]