Search code examples
phplaravelhttp-status-code-500

Error 500 with laravel


I have tried all that it is in the old posts of stackoverflow..

I have put debug true (Any error is displayed, it keeps saying error 500)

It has permissions 775 in all the folders in all the files

In local works very good but online does not

I have a VPS

I have not touched the htaccess files (It is that maybe?)

I have installed a fresh laravel project and it does not work either watch it: http://mechamou.com.br/public/

What could it be? what am I missing?


Solution

  • The link you provided redirects to http://mechamou.com.br/blog/public/ I manually remove the /blog section of the url (so it becomes http://mechamou.com.br/public) and it works perfectly. So, you need to config your apache so it has the correct path to the public folder in your app.