403 error on Apache for a laravel project, after upgrade to Ubuntu 13.10

后端 未结 3 2072
抹茶落季
抹茶落季 2020-12-13 19:03

I upgraded to Ubuntu 13.10. At first when running apache after the update, there were missing/broken files, so I simply re-installed apache. I backed up the vhost file. <

3条回答
  •  春和景丽
    2020-12-13 19:49

    I had a problem where in the routes file (web.php) I had two routes (the same link) but different controller action. The second action was empty that's why it was blank.

    For example:

    Route::get('/route', 'Controller@firstAction');
    Route::get('/route', 'Controller@secondAction');
    

提交回复
热议问题