Laravel 5.1 says for all other routes except ('/') that 404 page not found on Amazon online server using ec2
Hi i have installed laravel on ec2 instance using this video
www.youtube.com/watch?v=8ARpTKWc6lQ
I changed the root path of the document from /var/www
to /var/www/html/laravel/public
in the deafult.conf file as described at the end of the video
But now when I open my site on my home page http://52.26.133.246/ that have are ('/')
displayed fine, but when I open another a page with routes like ('AdminApp')
or you can just click on the admin link on the home page navigation bar with the whole link http://52.26.133.246/AdminApp
404 page not found
and
The requested URL /AdminApp was not found on this server.
but when i use /index.php in url the page is displayed Link here http://52.26.133.246/index.php/AdminApp
Also kindly check this link and without index.php
http://52.26.133.246/welcome
with index.php
http://52.26.133.246/index.php/welcome
Please help me. Thanks to
source to share