title: Laravel 5 Apache mod_rewrite not working
body: <p>Yes there, have been similar questions, but the suggested solutions are not working for me. 
  So I've set up Laravel, and the installation works fine.
  Well, as long as I'm staying on the base route</p>
  
  <pre><code>localhost/page/
  </code></pre>
  
  <p>as soon as I'm trying to hit one of my routes, let's say</p>
  
  <pre><code>localhost/page/subpage
  </code></pre>
  
  <p>and the route is configured to return a view</p>
  
  <pre><code>Route::get('subpage', ['as' =&gt; 'subpage', 'uses' =&gt; 'GenericPageController@subpage']);
  </code></pre>
  
  <p>The method <code>subpage</code> in the Controller:</p>
  
  <pre><code>public function subpage()
              {
  
                  return view('base.subpage');
              }
  </code></pre>
  
  <p>I simply get a 404 response from the server whenever i try hitting one of the routes. It doesnt matter what controller I'm using, or if its returning a view or a closure.</p>
  
  <ul>
  <li>mod_rewrite is enabled </li>
  <li>On the main directory <code>AllowOverride</code> is set
  to <code>All</code></li>
  </ul>
  
  <p>my <code>.htaccess</code> in the <code>page/public</code> folder looks like the following:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_negotiation.c&gt;
      Options -MultiViews
  &lt;/IfModule&gt;
  
  RewriteEngine On
  RewriteBase /
  
  # Redirect Trailing Slashes...
  RewriteRule ^(.*)/$ /$1 [L,R=301]
  
  # Handle Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  </code></pre>
  
  <p></p>
  
  <p>Anyone has an idea what the problem could be?</p>