title: You don't have permission to access /nagios/ on this server
body: <p>I have been trying to setup nagios on mac and it definitely seems pretty easy but I am stuck at this point - I am unable to load the <code>localhost/nagios/</code> page. I have the right configuration as far as I think. </p>
  
  <p>I have installed PHP and changed the httpd.conf to include "index.php" with index.html. I do not think there is more to it but this small thing is not letting me proceed. </p>
  
  <p>Could anyone shed some light and show me the way?</p>
  
  <p>This is what I have in my configuration file for nagios in hhtpd.conf for apache:</p>
  
  <p>#
  Nagios stuff</p>
  
  <p>ScriptAlias /nagios/cgi-bin/ "/opt/local/sbin/nagios/" </p>
  
  <p>&lt; Directory "/opt/local/sbin/nagios"></p>
  
  <p>AllowOverride None</p>
  
  <pre><code>Options ExecCGI
  Order allow,deny
  Allow from all
  AuthName "Nagios Access"
  AuthType Basic
  AuthUserFile /opt/local/etc/nagios/htpasswd.users
  require valid-user
  </code></pre>
  
  <p>&lt; /Directory></p>
  
  <p>Alias /nagios "/opt/local/share/nagios"</p>
  
  <p>&lt; Directory "/opt/local/share/nagios"></p>
  
  <pre><code>Options None
  AllowOverride AuthConfig
  Order allow,deny
  Allow from all
  </code></pre>
  
  <p>&lt; /Directory></p>
  
  <p>#
   End Nagios stuff</p>
  
  <p>-- And the error_log file for apache has this:</p>
  
  <p>[Fri Oct 19 11:02:09 2012] [error] [client ::1] Directory index forbidden by Options directive: /opt/local/share/nagios/</p>