title: New to Laravel PHP framework. Routes other than "/" doesn't work
body: <p>I'm a beginner at Lavarel framework. I know about MVC structure, Since I've used it before inside ASP.net, But using Laravel is quite confusing to me.</p>
  
  <p>I've installed Laravel inside <code>photozoom</code> directory using:</p>
  
  <pre><code>composer create-project laravel/laravel photozoom --prefer-dist
  </code></pre>
  
  <p>Here's my <code>app/routes.php</code> : </p>
  
  <pre><code>&lt;?php
  
  Route::get('/', function()
  {
      return View::make('hello');
  });
  
  Route::get('users', function()
  {
      return 'users route is working!';
  });
  </code></pre>
  
  <p>When i run <code>http://localhost/photozoom/public/users</code>, I get <code>404 Not Found</code> error. </p>
  
  <p>But when i try <code>http://localhost/photozoom/public/</code>, The route for <code>/</code> is invoked and the corresponding view is called.</p>
  
  <p>I even tried to create a view for the <code>users</code> route. Using Laravel documentation. I've created two files :</p>
  
  <p><code>layout.blade.php</code> : </p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Laravel Quickstart&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;Laravel Quickstart&lt;/h1&gt;
  
          @yield('content')
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><code>users.blade.php</code> :</p>
  
  <pre><code>@extends('layout')
  
  @section('content')
      Users!!!
  @stop
  </code></pre>
  
  <p>But still, When i call <code>http://localhost/photozoom/public/users</code> I get <code>404 Not Found error</code>.</p>
  
  <p>Here's my <code>public/.htaccess</code> file:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options -MultiViews
      RewriteEngine On
  
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I'm using PHP 5.5, Apache 2.4.6 .</p>
  
  <p>Any help would be appreciated.</p>
  
  <hr>
  
  <p><strong>SOLVED</strong>
  After enabling mod_rewrite, I had to enable <code>AllowOverride</code> too.</p>