Laravel - Forbidden You don't have permission to access / on this server

laravel, laravel-4

Solution

Create and put this .htaccess file in your laravel installation(root) folder.

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^public
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

Problem

My laravel installation was working fine yesterday but today I get the following error: ``` Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ``` Does anyone know where I am going wrong?

Original source