<div><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
The easiest way to do this (and the recommended way in most of the<br>Nagios docs I've seen) is to set up authentication in Apache's config<br>files, rather than with a .htaccess file. You might look there.</blockquote>
<div><br>This, I believe, is what you're talking about...<br><br>"Configure Alias For The HTML Files<br><br>In order to make the HTML files accessible via the web server, you'll have to edit your Apache configuration file as follows...
<br><br>Add the following to your web server configuration file (i.e. httpd.conf) as follows:<br><br>Alias /nagios/ /usr/local/nagios/share/<br><Directory "/usr/local/nagios/share"><br> Options None<br>
AllowOverride AuthConfig<br> Order allow,deny<br> Allow from all<br></Directory>"</div></div><br>