Problems configuring routes on apache2 server with laravel 5.1

0

I was doing a local project and it always ran with php artisan serve and everything was fine now that I'm uploading the project to a digitalocean machine I'm having problems with the routes the following error is happening:

I think the view is not being found, I am using an apache2 server with virtualhost pointing to the public folder of the project and so far so good because it drops in welcome.blade.php quietly but the other view that are in others directories are not being found.

Would it be a problem with directing directories? or some laravel configuration.

    
asked by anonymous 15.05.2016 / 19:00

1 answer

0

You should pay attention (especially if you are a Windows user) that Linux servers (which in this case is the majority, especially the shared ones) make a difference between upper and lower case, unlike Windows.

You should check that you have set the folders of views with all the characters in lowercase (as this is the default for Laravel).

If you do this in Windows will work, but not Linux , because of the difference between upper and lower case:

 app/
    views/
        minhaViewLegal.blade.php


view('minhaviewlegal', [])
    
16.05.2016 / 21:56