Laravel 5.4 problem - Wrong Route (Not Found) on Ubuntu 16.04
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=7CatEn5IAlo
i'm trying to change a route in web.php, like this :
Route::get('/', function(){
return redirect()-to('/test');
});
Route::resource('test', 'TestController');
but, the page showing "Not Found".
in my laravel project, i only change a route in web.php ..
hem, what's the problem?
maybe you must run this script :
sudo a2enmod rewrite
sudo service apache2 restart
then open file :
sudo gedit /etc/apache2/sites-available/000-default.conf
and add some script (see the script in this video for details)
Other Videos By Ambar Hasbiyatmoko
Tags:
laravel
route
framework
not found
apache2
rewrite
allowoverride
virtualhost
ubuntu
linux
terminal
restart
script
contoller
missing