problem with urlManager

hi guys

I have some problem with urlManager Yii2. After download to hosting links don’t work. These rules:

‘rules’ => [

            [


                'pattern' => '<module>/<controller>/<action>',


                'route' => '<module>/<controller>/<action>',


                'suffix' => '',


            ],


            [


                'pattern' => '<controller>/<action>',


                'route' => '<controller>/<action>',


                'suffix' => '',


            ],


            [


                'class' => 'yii\rest\UrlRule',


                'controller' => 'rest/users'


            ],


        ],

on my local server it works

help me please

which error u faced.

kindly attached screenshot.

I’m sorry but I can’t attach a file or link. I have the system message "You are novice and you can’t attach a file or link to reply "

I have a answer 404 Not Found

do you upload .htaccess too ?