title: Laravel 5 showing directory structure instead of index.php on xampp localhost
body: <pre><code>http://localhost/laravel_test/
  </code></pre>
  
  <p>Instead of routing to the index.php above URL is only printing Index (Directory Structure) of /laravel_test.</p>
  
  <p>I am able access the index page with following:</p>
  
  <pre><code>http://localhost/laravel_test/public/index.php
  </code></pre>
  
  <p>I tried modifying the .htacess file by adding following line inside the public directory of laravel_test still no change:</p>
  
  <pre><code>DirectoryIndex index.php
  </code></pre>