Hi everyone,
http://gtbtest1.com/projectFolder/index.php?r=site/index
URL Rules
'http://<domain:\w+>.com/<folder:\w+>/<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
I try to send a _GET parameter to my
public function actionIndex($domain)
{
print_r($domain);
$this->render('index');
}
But I still have:
[b]Error 400
Your request is invalid.[/b]
I tried so many permutation that I have a headache.
Now this Yii Doc: http://www.yiiframework.com/doc/guide/1.1/en/topics.url#parameterizing-hostnames
They send $user as param, I would like to do the same with the domain. How Can I do that?
Thank you