title: Laravel routes & .htaccess file not working on 1and1 hosting
body: <p>My client recently purchased a linux 1&amp;1 unlimited package from 1and1.com hosting company. I built the application for him in Laravel 4.2 framework. The application is working absolutely fine on my local machine as well as on my own VPS. But when I setup the files on my client host, it looks like .htaccess file is not working. Thats why, the laravel routes are not working and I'm constantly getting the 404 error message when trying to access different routes of the site. </p>
  
  <p>I've researched a lot about this issue and find many people heading with the same issue but couldn't find the real solution to this problem. </p>
  
  <p>Here is the .htaccess code:</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 Laravel 4.2</p>