I created my app on Homestead. Everything works fine there. But when I moved app to an external server I always have to include index.php after root path.
Example:
www.domain.com/index.php/contact
How to I get rid of index.php to make my URL prettier?
Application is located:
/var/www/
Public directory is renamed to html:
/var/www/html
PS. I'm using apache2.