I'm too newbie to Laravel...I have written this route to echo "Hello World", but It errors NotFoundHttpException
This is my routes.php (no other code is in the file but the following):
Route::get('/', function(){
return "HELLO WORLD";
});
I have also enable mode_rewrite, and also set AlloOverride to 'all' in apache module.
This is also the URL is use to access the page:
http://localhost/laravel/public/mostafa

http://localhost/. - undefined.get('/')is the root route, sohttp://localhost/should show "HELLO WORLD". - undefined"/mostafa"but it does not work. By default it works, without appending any string to"/", while I want to see it work with appended string such as"/mostafa"- user3077503