lundi 9 octobre 2017

Laravel 5.4 Strange behavior in production server

I have a project which works perfectly in dev mode in local server

But when i moved the project into the production AWS EC2 instance it is giving me Not Found Error

Not Found

The requested URL /login was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 34.229.19.144 Port 80

This is my Routs.php file

Route::get('/', function () {
    return redirect('/login');
});

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');

I did tried installing new laravel project in same server it worked perfectly fine

I'm not getting what might wen wrong

looking forward for much needed help

thank you

Aucun commentaire:

Enregistrer un commentaire