title: Laravel not recognized after .htaccess changes
body: <p>Here is the baffling sequence of events that just transpired.</p>
  
  <p>1) I have a working Laravel installation, with an <strong>empty</strong> <code>.htaccess</code> file, all URLs work.</p>
  
  <p>2) I add some rules to <code>.htaccess</code> just to play around a bit, then remove the rules.</p>
  
  <p>3) Now I have an empty <code>.htaccess</code> again (so nothing has changed compared to step 1 above) but now no URLs work anymore except the homepage.</p>
  
  <p>For example, you will see that <a href="http://jovansprojects.com/march_madness/" rel="nofollow">http://jovansprojects.com/march_madness/</a> works (that's the root of the Laravel folder), using this route:</p>
  
  <pre><code>Route::get('/', 'HomeController@showWelcome');
  </code></pre>
  
  <p>But <a href="http://jovansprojects.com/march_madness/login" rel="nofollow">http://jovansprojects.com/march_madness/login</a> does not work anymore, despite having worked normally before.</p>
  
  <p>This is the relevant route:</p>
  
  <pre><code>Route::get('login', 'SessionsController@create');
  </code></pre>
  
  <p>Note that it doesn't throw a Laravel error, like a 'not found exception' - it simply doesn't seem to know Laravel is installed there at all.</p>
  
  <p>I've tried clearing Artisan's cache according to some online suggestions but didn't help.</p>
  
  <p>So, to sum up: <code>.htaccess</code> is exactly the same as it was before (empty) but it seems the server doesn't even know to ask Laravel to handle the URLs anymore, not beyond the homepage anyway.</p>
  
  <p>These are the rules I added to, and then removed from, .htaccess (I wanted to redirect trailing slashes):</p>
  
  <pre><code>Options -MultiViews
  RewriteEngine On
  RewriteBase /march_madness/
  
  # 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>I suspect that <code>RewriteBase</code> may have something to do with it, but after I deleted the rules why didn't it revert to the way it was?</p>