Tip - Laravel 4, 500 Error on Install

If you install Laravel 4 and you’re using Apache with a certain Virtual Host configuration (specifically using VirtualDocumentRoot in my case) then you’ll need to include a RewriteBase directive within the .htaccess file in public/ to correct it.

An example of a fixed .htaccess file:

<IfModule mod_rewrite.c>  
    Options -MultiViews
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>