F
F
First Name2018-08-16 13:30:08
Yii
First Name, 2018-08-16 13:30:08

Installing yii 2 on OSPanel?

Hello everyone, it so happened that I am now on Windows.
Installed OSPanel, launched nginx + php7.2 cloned basic yii 2, launched, uncommented UrlManager, did not register any custom rules

'urlManager' => [
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
            ],
        ],

I set up the domain to look at project/web
I go to url'y , everything is fine, the index works, but it's worth going, for example, to site.ru/site/contacts(site.ru/contacts), it gives a 404 error, what's the problem ?
Installed apache, same error. there are no .htaccess'ov, add. configs too...
Thanks in advance for the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy S, 2018-08-16
@evgensenin

that's just some .htaccess and should be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question