title: Laravel pretty URL
body: <p>I'm going crazy here! I'm trying to learn Laravel and pretty URLs just don't work.</p>
  
  <p>I have enabled <code>mod_rewrite</code> from my apache config file, I have set <code>AllowOverride</code> to <code>All</code> in my user config file and I have the following in my <code>.htaccess</code> file in <code>public</code> folder of Laravel installation:</p>
  
  <pre><code>Options +FollowSymLinks
  RewriteEngine On
  
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php/$1 [L]
  </code></pre>
  
  <p>I enter <code>http://localhost/~user/lara/public/index.php/users</code> it works, but with <code>http://localhost/~user/lara/public/users</code> I get <code>404 Not Found</code> error</p>
  
  <pre><code>The requested URL /Users/user/Sites/lara/public/index.php/users was not found on this server.
  </code></pre>
  
  <p>You can see that the redirection works fine, as <code>public/users</code> have turned into <code>public/index.php/users</code> but it says not found, even though when I manually enter <code>public/index.php/users</code> it show me the output. </p>
  
  <p>I have read all the related questions on SO, none of the worked for me!</p>