Skip to content

Instantly share code, notes, and snippets.

@danjellesma
Created January 2, 2014 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danjellesma/8214324 to your computer and use it in GitHub Desktop.
Save danjellesma/8214324 to your computer and use it in GitHub Desktop.
Remove index.php on Ubuntu12 using Laravel 4.x
Change 1: Activate mod_rewrite by uncommenting it. # This did not work for me, but this did:
sudo a2enmod rewrite
Change 2: In /etc/apache2/apache2.conf -> Update Allow Override from None to All
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment