Bad Request (#400) Missing required parameters:id

HI,
On my local (laptop, with the IIS server, when I click on an icon to view my recording,
Yii generates a link to view the recording:
http://mysite_iis.local/index.php/sub-list/view?id=6

The same Yii codes on the Apache server do not work:
here is what Yii generates:
http://mysite_apache.com/index.php/sub-list/view
instead of
http://mysite_apache.com/index.php/sub-list/view ?id=6

So what’s missing: ?id=6
So, I have the following error:

Bad Request (#400)
Missing required parameters:id
The above error occurred while the Web server was processing your request.

Thanks for your help

verify that it is labeled

main.php
/*
‘urlManager’ => [
‘enablePrettyUrl’ => true,
‘showScriptName’ => false,
‘rules’ => [
],
],
*/

Yes it is but
into the
root/config/web.php

//... etc
'db' => $db,
'urlManager' => [
     'enablePrettyUrl' => true,
     'showScriptName' => false,
      'rules' => [],
  ],
  //... etc

try this

'urlManager' => [
            'class' => 'yii\web\UrlManager',
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
                ''=>'site/index',
                '<action:(index|login|logout)>'=>'site/<action>',
                '<controller:\w+>/<id:\d+>' => '<controller>/view',
                '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
                '<controller:\w+>/<action:\w+>' => '<controller>/<action>'
            ],
        ],

Can you enable showScriptName? As far as I remember, you have to do some htacess or similar redirections if you disable that