Apache2 not working with routes PHP
问题 I am developing an app with PHP 7.0 and implementing routes with MVC. My root folder ('/') is the 'public' directory. When I access the address 'localhost' I am redirected to index.php with have the routes available. But when I try another url to access another route, like 'localhost/contact' the server doesn't find the entry and give this message: Not Found The requested URL /contact was not found on this server. I am pretty sure that the problem in on my server config (apache2 on linux mint