title: Laravel all routes except '/' return 404 on AWS EC2
body: <p>I'm trying to run Laravel project on AWS EC2. It was working fine until uploaded a new version to deploy. All routes return error 404 except for '/' though all routes exist. httpd.conf in /etc/httpd/conf contains this</p>
  
  <pre><code>&lt;Directory "/var/www"&gt;
  AllowOverride All
  # Allow open access:
  Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I always execute these commands after deploying a new version</p>
  
  <pre><code>sudo chown -R ec2-user /var/app/current
  sudo chmod -R 755 /var/app/current
  </code></pre>
  
  <p>I tried "sudo a2enmod rewrite" but I get "sudo: a2enmod: command not found"</p>
  
  <p>Any solution?</p>