我试图允许在YII(Yii 1.1.14)中访问$ _GET以获取干净的url和正常的get请求,例如,如果我有一个控制器城市和动作getCities只有var_dump($ _ GET)

1- http://example.com/cities/getCities/country_id/100
==> the output is array(1) { ["country_id"]=> string(3) "100" }
2- http://example.com/cities/getCities?country_id=100
==> the output is array(0) { }

我的urlManager是

'urlManager' => array(
    'class'     => 'ext.localeurls.LocaleUrlManager',
    'languageParam'    => 'lang', //  Name of the parameter that contains the desired language when constructing a URL
    'urlFormat'       => 'path',
    'showScriptName'  => false,
    'caseSensitive'   => false,
    'rules'=>array(
        'login'=>'/home/login'
    )
),

在上述两种情况下,我怎么能让Yii识别$ _GET?

EDIT 我正在使用nginx 1.6 . GET参数(?x = y)在其他Yii项目上工作正常,只有这个项目没有 . 我将网络服务器改为apache,我让它在这个项目上工作!虽然这个项目有像其他人一样的nginx配置!!