title: Laravel routes returning 404 after move from xampp to apache 2.4.7. mod_rewrite or htacess or missing apache setting?
body: <p>a simple 'test' route keeps returning a 404.</p>
  <pre><code>Route::get('test', function() {
      return View::make('test');
  });
  </code></pre>
  <p>The route doesn't work whether it's localhost/test, or vhost.dev/test or even when using our sub.domain.com/test with the DNS pointing to that particular laptop.</p>
  <p>We were using XAMPP but switched to apache after learning that xampp was not suitable for a production environment. So I installed apache 2.4.7, php and the various sqlsrv mods on one of our win7 laptops. After moving to Apache, all routes have stopped working even with the same directory structure.</p>
  <p>I've also tried moving all files in /public into /htdocs and the rest of the app into a laravel folder in the root apache2.4 folder.</p>
  <p>I'm tested if mod_rewrite is enabled using <a href="https://stackoverflow.com/a/9021476/2932293">this code on SO</a>. This is the response so I suppose it is working?</p>
  <blockquote>
  <p>Apache/2.4.7 (Win32) PHP/5.4.24</p>
  <p>mod_rewrite available</p>
  </blockquote>
  <p>htaccess</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options +FollowSymLinks
      RewriteEngine On
      RewriteBase /
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>