title: Display all files in MAMP htdocs through browser
body: <p>I recently purchased a new MacBook Pro (10.8 OS) and installed MAMP 3.0 (not MAMP-Pro) but I have been searching the web on how to display all files when viewing a folder within the <code>htdocs</code> directory such as: <code>htdocs/stackoverflow</code> VIA the browser (Chrome or Firefox).  This is a feature that I do not have a problem with in Windows using either WAMP or XAMPP when navigating to the <code>localhost/directory/contents</code>.  I do understand that <code>localhost</code> must be accessed through <code>locahost:8888</code> or whatever port it has been modified to.  I do not have an issue starting or stopping the MAMP server and everything is executable through NetBeans 8.0 when I set a <code>.php</code> file as the index:</p>
  
  <p><img src="https://i.stack.imgur.com/YcYdw.jpg" alt="enter image description here"></p>
  
  <p>So just to be clear, if I have a directory under htdocs (<code>htdocs/foobar/</code>) filled with several <code>.php</code> files I want to be able to view them in the sub-directory of htdocs instead of a blank browser (tested within Chrome and Firefox).  I would imagine this is a security setting I am missing in the configuration?  How would I enable, for local development, the ability to view all files, directories, and contents VIA the web browser?  If it helps or may be an issue I am using NetBeans 8.0 as my IDE for PHP.</p>
  
  <h2>Windows:</h2>
  
  <pre><code>localhost
  -stackoverflow
  --foo.php
  --bar.php
  --humpday.php
  </code></pre>
  
  <h2>Mac:</h2>
  
  <pre><code>localhost:8888
  -stackoverflow
  --empty in browser (chrome or Firefox)
  </code></pre>
  
  <p>I have searched to see if this a <code>php.ini</code> feature,  <a href="http://www.mamp.info/en/documentation/MAMP-3-User-Guide.pdf" rel="nofollow noreferrer">MAMP 3 documentation</a> has nothing on this, and Netbeans shows nothing per the search.</p>