Hi I have been following the "Build a PHP MVC Application" tutorial on Codecourse's YouTube Channel.
I have moved the project to the root(htdocs) and now when I load http://localhost all I see is the default apache folder index.
My files are organised as such:
htdocs
->app
->public
->.htaccess
.htacces contains:
Options -MultiViews
RewriteEngine On
RewriteBase /public/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
Edit: if I go to localhost/home (one of the controllers i setup) it loads the page correctly