Güngör Budak's Blog

Bioinformatics, web programming, coding in general

If clean URLs don't work in Laravel 4 on Ubuntu 12.04 LTS

.htaccess directions are correct, mod_rewrite is enabled but still you are getting 404 Not Found errors…

You need to change AllowOverride None to AllowOverride All in /etc/apache2/sites-available/default.

Modified section in the file:

<Directory /home/user/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all