My client recently purchased a linux 1&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.
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.
Here is the .htaccess code:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
I'm using Laravel 4.2