A
A
Alexander2018-02-05 22:19:46
Yii
Alexander, 2018-02-05 22:19:46

Why might urlManager not work in yii2?

Good day! I can't understand why urlManager in yii doesn't work. I do everything as described in the documentation.
5a78ac2d4c234678477321.png
The idea is that the forum action from the main controller should work, but the rule is ignored. The rule matches the site.ru/forum/1 url, but it doesn't work. Works out the default action and that's it. And no mistakes, which is typical! In general, help me out for a week trying to understand why the CNC does not plow.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-02-05
@BugFixMan

Issue resolved! It turns out that document_root needed to be configured in such a way that it points to the web folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question