Home  >  Article  >  Backend Development  >  mac mamp ngiux laravel framework reports 404 error

mac mamp ngiux laravel framework reports 404 error

WBOY
WBOYOriginal
2016-12-01 00:56:481569browse

Install mamp integrated environment on mac

The laravel framework is installed, a controller is added, a route is added, and a 404 error is reported when accessing!

Find the solution!

Reply content:

Install mamp integrated environment on mac

The laravel framework is installed, a controller is added, a route is added, and a 404 error is reported when accessing!

Find the solution!

The access directory of laravel must point to public, and the entry file index is in the public folder, not the root directory

See the documentation http://www.golaravel.com/lara... to see if rewrite is configured

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn