samedi 21 novembre 2015

Laravel quick start example not run

I'm new with Laravel and I'm trying to reproduce the quickstart guide, but I don't get it to work.

I'm running local Apache Server in Linux (Debian)

This is my installation url: http://localhost/laravel_blog

I test adding to .htaccess, but not work

RewriteBase /laravel_blog/

My route is like is indicate in the quickstart guide

Route::get('/', function () {
    return view('tasks', [
        'tasks' => Task::orderBy('created_at', 'asc')->get()
    ]);
});

I read these stackoverflow answers, but the solution not worked for me.

Laravel quick start guide route not working

laravel when going to address I see folders, not starting the app

How can I get work the laravel route?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire