Support the ongoing development of Laravel.io →
Views Laravel

Hello, I'm new at Laravel. I'm getting 404 page not found and have no idea why.

My routes list, as you can see, already run route:clear : https://prntscr.com/rtmxgu

Return view in controller: https://prnt.sc/rtmxiu

Not found: https://prnt.sc/rtmxle

Default route is the only one working: https://prnt.sc/rtmxn8

I've tested on nginx/1.14.0 and Apache 2.4.

Someone can help me? This is my first project using Laravel. Ps: already changed my .htaccess (when using apache) to: https://prnt.sc/rtn1hj

Thanks a lot.

Last updated 3 years ago.
0

Solved.

On Nginx:

On Apache:

  • Edited httpd.conf -> my 'www' DocumentRoot changed 'AllowOverride none' to 'AllowOverride All' https://prnt.sc/ru5dhk

That's it, hope this can help who is having the same problem :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.