mac mamp ngiux laravel framework reports 404 error

WBOY
Release: 2023-03-02 06:58:01
Original
1568 people have browsed it

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!