title: Laravel Project, only home view is working, other views giving 404 not found
body: <p>I have a laravel project for restaurants. Laravel version is 5.1, it's working on my localhost windows - xampp, and working fine on my hosting service + whm.</p>
  
  <p>I installed a physical linux server on a hp xeon, centos 7.
  I've installed apache, mysql, php, phpmyadmin and all is good the server is running well.</p>
  
  <p>I copied my laravel project to /var/www/myproject.com and configured a virtual host for this project and the vhost is working fine, tested with a simple html page.</p>
  
  <p>When I try to open the project, home page is opening but the other views giving 404 not found, even requests giving 404 not found so the home is loading without data only design.</p>
  
  <p>I searched for this issue, tried to fix the .htaccess in public, allowoverrid all and all solutions, I fixed the document root in httpd conf.</p>
  
  <p>Nothing is working.</p>
  
  <p><strong>PS: When I uploaded my laravel project to the live server months ago (working project), I've renamed the server.php, and copied the index.php from public to the project root. I did that to access my project without adding /public to the url, maybe this is causing an issue here.</strong></p>
  
  <p>Any help?</p>