I have installed Laravel 5 and got to display the welcome page. But haven't been able to display any other page. I have installed with following settings:
In /etc/apache2/sites-available/laravel.example.com.conf
DocumentRoot /var/www/laravel/public
In /var/www/laravel/app/Http/routes.php
// ---- THIS DOESN'T WORK
Route::get('/simple', function () {
return View::make('simple');
});
// ---- THIS WORK FINE
Route::get('/', function () {
return View::make('welcome');
});
In /var/www/laravel/public
$ ls -> index.php robots.txt web.config
In /var/www/laravel/resources
$ ls -> errors vendor simple.blade.php welcome.blade.php
// welcome.blade.php -> gets displayed
// simple.blade.php -> doesn't get displayed