Support the ongoing development of Laravel.io →
Installation Configuration Validation
Last updated 2 years ago.
0

Are you using Homestead 2 ?

I removed "error_page 404 /index.php;" from the nginx site config.

Was mentioned here, https://laracasts.com/discuss/channels/general-discussion/restore-notfoundhttpexception

I also removed it from all of my site configs using the command posted on the forum,

sudo sed -i "/error_page/d" /etc/nginx/sites-enabled/*
0

No I'm not using Homestead. I am using Apache and Apache is returning my 404 instead of Laravel.

I have gone to my php.ini file and display_errors is set to off. So I think it is apache returning the error before laravel can handle it. Not sure what next

Thanks

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ottz0 ottz0 Joined 15 Nov 2014

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.

© 2024 Laravel.io - All rights reserved.