S
S
serega 20702018-12-24 14:41:05
Yii
serega 2070, 2018-12-24 14:41:05

The site issues Nginx is functioning normally, what should I do?

Good guys, the site on yii, displays on the main page "Nginx is functioning normally"
On the internal pages of the site site.ru/page displays
Not Found
The requested URL /payments/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I can't figure out what the problem is (
htaccess is configured like this https://github.com/ilopX/yii2-basic-htaccess

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-12-24
@Minifets

.htaccess is apache2. And you have Nginx running as a web server. This is a different program, and as a rule they will not work together unless one of them is listening on port 80. If you have both of them, then most likely nginx starts at startup, and apache2 falls.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question