1
1
1programmer2018-04-05 18:48:19
Laravel
1programmer, 2018-04-05 18:48:19

Why is the page not showing in laravel site?

Welcome all. I understand with laravel and there was a problem with displaying pages. The site was uploaded to vps. The main page is displayed https://site.ru/, everything is fine. There is also a connection to the database. The site has an admin panel at https://site.ru/login. But when I try to go it displays The requested URL /login was not found on this server. Although everything is displayed correctly on localhost. What could be causing the error?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yan-s, 2018-04-05
@Yan-s

Throw out apache and use nginx and php-fpm.
View examples of nginx configs for laravel online.

B
bkosun, 2018-04-05
@bkosun

Incorrect web server settings (apache/nginx/etc.)

I
iljaGolubev, 2018-04-06
@iljaGolubev

Maybe this?
https://laravel.com/docs/5.6/controllers#route-caching
is the required route in artisan route:list ?
and also here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question