title: Laravel - Move index.php to a different folder
body: <p>I am trying to use AngularJS for the front-end and Laravel for the back-end. As such, I have setup the following folder structure:</p>
  
  <pre><code>/app
      /app (contains Laravel)
      /bootstrap
      /vendor
      /public
         /api (want to place index.php for laravel here)
         /app (AngularJS files)
         app.js
         bootstrap.js
         index.html
  </code></pre>
  
  <p>And so I was hoping that by calling <code>/api/myController/</code> I would get access to myController within the Laravel framework. However, when I call <code>/api/</code> I get the following error: </p>
  
  <blockquote>
    <p>The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.</p>
  </blockquote>
  
  <p>How can I accomplish this?</p>