Skip to content

Instantly share code, notes, and snippets.

@rishpandey
Created February 23, 2018 07:08
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 rishpandey/9211a4013ac5d7aa975a88c0de456623 to your computer and use it in GitHub Desktop.
Save rishpandey/9211a4013ac5d7aa975a88c0de456623 to your computer and use it in GitHub Desktop.
Larvel all routes 404 fix
[Optional] Set DocumentRoot
nano /etc/apache2/sites-available/000-default.conf
Set AllowOverride in /etc/apache2/apache2.conf
Under /var/www :
AllowOverride All
Allow rewrite
sudo a2enmod rewrite
sudo service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment