Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Linux/Enable Mod Rewrite in Ubuntu

August 8, 2014

Enable Mod Rewrite in Ubuntu

Another issue when installing Laravel on the Ubuntu server is to make sure you have the mod_rewrite module enabled. You can turn it on by invoking the following command.

sudo a2enmod rewrite
sudo service apache2 reload

sudo a2enmod rewrite sudo service apache2 reload

Once you’ve enabled mod_rewrite, you need to restart Apache. That should fix any of the route issues that you may have. If mod_rewrite is disabled, you usually get 404 errors or file not found. The Laravel routes simply doesn’t work.

Filed Under: Linux, PHP Tagged With: mod_rewrite

Content delivered to your email

About Me

I'm Ulysses, a Cloud Engineer at Cardinal Health based in Columbus, Ohio. I’m a certified AWS Solutions Architect. This website is my way of documenting the things I have learned in the Cloud. When off the grid, I enjoy riding my electric skateboard. I have surfed, snowboarded and played the saxophone in the past. I hope you will find this site helpful. It's powered by WordPress and hosted in AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021