Lumen throwing 404 error when accessing "localhost/lumen", but works fine when accessed with artisan serve i.e. "localhost:8000" . What can be the reason behind this?
@bobbybouwmann I am not creating any virtual host which would have required me to update host file with ip and hostName. I am on local machine where lumen resides in www/lumen. To access Root of lumen, if i hit http://localhost/lumen/public . It throws 404 with trace
Sorry, the page you are looking for could not be found.
1/1
NotFoundHttpException in Application.php line 1136:
in Application.php line 1136
at Application->handleDispatcherResponse(array('0')) in Application.php line 1095
at Application->dispatch(null) in Application.php line 1035
at Application->run() in index.php line 28
Is there any, setting or uncommenting require in bootstrap\app. Problem coming just after $app->run();